diff options
author | QMK Bot <hello@qmk.fm> | 2020-02-01 09:46:34 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2020-02-01 09:46:34 +0000 |
commit | 1a79f14e4390d088fcf6b26fe3b62549875c3e71 (patch) | |
tree | 1bc058e4594606de12cd8ca24832a78af56d33c4 | |
parent | 4e6d1ae0eaafb64d04ae6a5e00d2ef41623248cf (diff) | |
download | qmk_firmware-1a79f14e4390d088fcf6b26fe3b62549875c3e71.tar.gz qmk_firmware-1a79f14e4390d088fcf6b26fe3b62549875c3e71.zip |
format code according to conventions [skip ci]
-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 66c4a6458..ed5cfe1b0 100644 --- a/tmk_core/common/chibios/timer.c +++ b/tmk_core/common/chibios/timer.c | |||
@@ -28,10 +28,6 @@ uint32_t timer_read32(void) { | |||
28 | return current_time_ms; | 28 | return current_time_ms; |
29 | } | 29 | } |
30 | 30 | ||
31 | uint16_t timer_elapsed(uint16_t last) { | 31 | uint16_t timer_elapsed(uint16_t last) { return TIMER_DIFF_16(timer_read(), last); } |
32 | return TIMER_DIFF_16(timer_read(), last); | ||
33 | } | ||
34 | 32 | ||
35 | uint32_t timer_elapsed32(uint32_t last) { | 33 | uint32_t timer_elapsed32(uint32_t last) { return TIMER_DIFF_32(timer_read32(), last); } |
36 | return TIMER_DIFF_32(timer_read32(), last); | ||
37 | } | ||