File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -208,13 +208,13 @@ void LowPowerTickerWrapper::_timeout_handler()
208
208
209
209
timestamp_t current = _intf->read ();
210
210
/* Add extra check for '_last_set_interrupt == _cur_match_time'
211
- *
211
+ *
212
212
* When '_last_set_interrupt == _cur_match_time', _ticker_match_interval_passed sees it as
213
213
* one-round interval rather than just-pass, so add extra check for it. In rare cases, we
214
214
* may trap in _timeout_handler/_schedule_match loop. This check can break it.
215
215
*/
216
216
if ((_last_set_interrupt == _cur_match_time) ||
217
- _ticker_match_interval_passed (_last_set_interrupt, current, _cur_match_time)) {
217
+ _ticker_match_interval_passed (_last_set_interrupt, current, _cur_match_time)) {
218
218
_intf->fire_interrupt ();
219
219
} else {
220
220
_schedule_match (current);
@@ -232,7 +232,7 @@ bool LowPowerTickerWrapper::_match_check(timestamp_t current)
232
232
}
233
233
/* Add extra check for '_last_set_interrupt == _cur_match_time' as above */
234
234
return (_last_set_interrupt == _cur_match_time) ||
235
- _ticker_match_interval_passed (_last_set_interrupt, current, _cur_match_time);
235
+ _ticker_match_interval_passed (_last_set_interrupt, current, _cur_match_time);
236
236
}
237
237
238
238
uint32_t LowPowerTickerWrapper::_lp_ticks_to_us (uint32_t ticks)
You can’t perform that action at this time.
0 commit comments