]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - common/mbed/timer.c
Fix print and timer
[tmk_firmware.git] / common / mbed / timer.c
index a64a77239cd8073065bd904f1328706c91732bd1..c357ceb7863c92c07fd94f86da54c7642e8d2e2f 100644 (file)
@@ -11,6 +11,7 @@ void SysTick_Handler(void)  {
 
 void timer_init(void)
 {
+    timer_count = 0;
     SysTick_Config(SystemCoreClock / 1000); /* 1ms tick */
 }