diff options
author | QMK Bot <hello@qmk.fm> | 2020-02-01 09:46:34 +0000 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-02-26 10:15:12 +0900 |
commit | 12806f121650bcf5cb9067bebabcc918cc1ee87b (patch) | |
tree | fd4741b30f606304d2dd123b3053cb94cf8179e8 /tmk_core/common/chibios | |
parent | 7ed8cd4f17bef0392c56dfb2b6ddc20c9ab354ed (diff) |
format code according to conventions [skip ci]
Diffstat (limited to 'tmk_core/common/chibios')
-rw-r--r-- | tmk_core/common/chibios/timer.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tmk_core/common/chibios/timer.c b/tmk_core/common/chibios/timer.c index 66c4a6458e..ed5cfe1b05 100644 --- a/tmk_core/common/chibios/timer.c +++ b/tmk_core/common/chibios/timer.c @@ -28,10 +28,6 @@ uint32_t timer_read32(void) { return current_time_ms; } -uint16_t timer_elapsed(uint16_t last) { - return TIMER_DIFF_16(timer_read(), last); -} +uint16_t timer_elapsed(uint16_t last) { return TIMER_DIFF_16(timer_read(), last); } -uint32_t timer_elapsed32(uint32_t last) { - return TIMER_DIFF_32(timer_read32(), last); -} +uint32_t timer_elapsed32(uint32_t last) { return TIMER_DIFF_32(timer_read32(), last); } |