From 04fe78ee0a7fe9baed39f021799a3dbb24ebeb36 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 16 Jun 2014 15:38:39 +0900 Subject: Fix print and timer --- common/mbed/timer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'common/mbed') diff --git a/common/mbed/timer.c b/common/mbed/timer.c index a64a77239c..c357ceb786 100644 --- a/common/mbed/timer.c +++ b/common/mbed/timer.c @@ -11,6 +11,7 @@ void SysTick_Handler(void) { void timer_init(void) { + timer_count = 0; SysTick_Config(SystemCoreClock / 1000); /* 1ms tick */ } -- cgit v1.2.3