aboutsummaryrefslogtreecommitdiffstats
path: root/src/devices/timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/timer.h')
-rw-r--r--src/devices/timer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/devices/timer.h b/src/devices/timer.h
index 45a3f72..aee6033 100644
--- a/src/devices/timer.h
+++ b/src/devices/timer.h
@@ -4,10 +4,7 @@
#include <round.h>
#include <stdint.h>
-/* Number of timer interrupts per second. */
-#define TIMER_FREQ 100
-
-void timer_init (void);
+void timer_init (uint16_t timer_freq);
void timer_calibrate (void);
int64_t timer_ticks (void);