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) | |
| download | qmk_firmware-04fe78ee0a7fe9baed39f021799a3dbb24ebeb36.tar.gz qmk_firmware-04fe78ee0a7fe9baed39f021799a3dbb24ebeb36.zip | |
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 a64a77239..c357ceb78 100644 --- a/common/mbed/timer.c +++ b/common/mbed/timer.c | |||
| @@ -11,6 +11,7 @@ void SysTick_Handler(void) { | |||
| 11 | 11 | ||
| 12 | void timer_init(void) | 12 | void timer_init(void) |
| 13 | { | 13 | { |
| 14 | timer_count = 0; | ||
| 14 | SysTick_Config(SystemCoreClock / 1000); /* 1ms tick */ | 15 | SysTick_Config(SystemCoreClock / 1000); /* 1ms tick */ |
| 15 | } | 16 | } |
| 16 | 17 | ||
