diff options
Diffstat (limited to 'stm/systick.c')
-rw-r--r-- | stm/systick.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/systick.c b/stm/systick.c index 40ae532793..f9def4a026 100644 --- a/stm/systick.c +++ b/stm/systick.c @@ -43,7 +43,7 @@ void sys_tick_wait_at_least(uint32_t stc, uint32_t delay_ms) { } } -bool sys_tick_has_passed(uint32_t stc, uint32_t delay_ms) { +MP_BOOL sys_tick_has_passed(uint32_t stc, uint32_t delay_ms) { // stc_wait is the value of sys_tick_counter that we wait for uint32_t stc_wait = stc + delay_ms; if (stc_wait < stc) { |