diff options
author | tmk <nobody@nowhere> | 2014-06-16 15:38:39 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2014-07-30 14:07:43 +0900 |
commit | 04fe78ee0a7fe9baed39f021799a3dbb24ebeb36 (patch) | |
tree | 047ab27ca15eedfcc5523ac0daf243611501ef5e /common/mbed/timer.c | |
parent | 867f115bee190515aa195dc3e58f1c381ea9695b (diff) |
Fix print and timer
Diffstat (limited to 'common/mbed/timer.c')
-rw-r--r-- | common/mbed/timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ } |