format code according to conventions [skip ci]
This commit is contained in:
parent
4e6d1ae0ea
commit
1a79f14e43
1 changed files with 2 additions and 6 deletions
|
@ -28,10 +28,6 @@ uint32_t timer_read32(void) {
|
||||||
return current_time_ms;
|
return current_time_ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t timer_elapsed(uint16_t last) {
|
uint16_t timer_elapsed(uint16_t last) { return TIMER_DIFF_16(timer_read(), last); }
|
||||||
return TIMER_DIFF_16(timer_read(), last);
|
|
||||||
}
|
|
||||||
|
|
||||||
uint32_t timer_elapsed32(uint32_t last) {
|
uint32_t timer_elapsed32(uint32_t last) { return TIMER_DIFF_32(timer_read32(), last); }
|
||||||
return TIMER_DIFF_32(timer_read32(), last);
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue