HCoop
/
jackhill
/
qmk
/
firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e6d1ae
)
format code according to conventions [skip ci]
0.7.133
author
QMK Bot
<hello@qmk.fm>
Sat, 1 Feb 2020 09:46:34 +0000
(09:46 +0000)
committer
QMK Bot
<hello@qmk.fm>
Sat, 1 Feb 2020 09:46:34 +0000
(09:46 +0000)
tmk_core/common/chibios/timer.c
patch
|
blob
|
blame
|
history
diff --git
a/tmk_core/common/chibios/timer.c
b/tmk_core/common/chibios/timer.c
index
66c4a64
..
ed5cfe1
100644
(file)
--- 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); }