summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
Diffstat (limited to 'driver')
-rw-r--r--driver/timer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/driver/timer.c b/driver/timer.c
index 3a8c31c..d30a299 100644
--- a/driver/timer.c
+++ b/driver/timer.c
@@ -1,4 +1,3 @@
-
#include "timer.h"
#include "asm_x86.h"
@@ -152,7 +151,7 @@ uint64_t timer_init()
{
uint64_t epoch_time=get_rtc_time();
task_system_clock_start=epoch_time*25; // since pit ticks 25times a second
- asm_pit_init();
+ asm_pit_rate_40ms();
return epoch_time;
}