Skip to content

Commit 4b3a031

Browse files
committed
low power ticker: fix astyle
1 parent d0b9b9a commit 4b3a031

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hal/LowPowerTickerWrapper.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,13 @@ void LowPowerTickerWrapper::_timeout_handler()
208208

209209
timestamp_t current = _intf->read();
210210
/* Add extra check for '_last_set_interrupt == _cur_match_time'
211-
*
211+
*
212212
* When '_last_set_interrupt == _cur_match_time', _ticker_match_interval_passed sees it as
213213
* one-round interval rather than just-pass, so add extra check for it. In rare cases, we
214214
* may trap in _timeout_handler/_schedule_match loop. This check can break it.
215215
*/
216216
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)) {
218218
_intf->fire_interrupt();
219219
} else {
220220
_schedule_match(current);
@@ -232,7 +232,7 @@ bool LowPowerTickerWrapper::_match_check(timestamp_t current)
232232
}
233233
/* Add extra check for '_last_set_interrupt == _cur_match_time' as above */
234234
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);
236236
}
237237

238238
uint32_t LowPowerTickerWrapper::_lp_ticks_to_us(uint32_t ticks)

0 commit comments

Comments
 (0)