We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96fbf9d + 2159032 commit 80556a0Copy full SHA for 80556a0
TESTS/mbed_hal/common_tickers/main.cpp
@@ -129,7 +129,7 @@ void overflow_protect()
129
return;
130
}
131
132
- while (intf->read() > ticks_now);
+ while (intf->read() >= ticks_now);
133
134
135
void ticker_event_handler_stub(const ticker_data_t *const ticker)
TESTS/mbed_hal/lp_ticker/main.cpp
@@ -86,7 +86,7 @@ void overflow_protect()
86
87
88
89
- while (lp_ticker_read() > ticks_now);
+ while (lp_ticker_read() >= ticks_now);
90
91
92
0 commit comments