mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11167 from Tharazi97/Lp_ticker_tests
Fix lp ticker and common ticker testspull/11212/head
commit
80556a01fd
|
@ -129,7 +129,7 @@ void overflow_protect()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (intf->read() > ticks_now);
|
while (intf->read() >= ticks_now);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ticker_event_handler_stub(const ticker_data_t *const ticker)
|
void ticker_event_handler_stub(const ticker_data_t *const ticker)
|
||||||
|
|
|
@ -86,7 +86,7 @@ void overflow_protect()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
while (lp_ticker_read() > ticks_now);
|
while (lp_ticker_read() >= ticks_now);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ticker_event_handler_stub(const ticker_data_t *const ticker)
|
void ticker_event_handler_stub(const ticker_data_t *const ticker)
|
||||||
|
|
Loading…
Reference in New Issue