commit | cf871aec645dc45503b20c2e7684a4babbc436dc | [log] [tgz] |
---|---|---|
author | Andrzej Głąbek <andrzej.glabek@nordicsemi.no> | Mon Jan 23 17:32:50 2023 +0100 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Wed Jan 25 11:25:01 2023 +0000 |
tree | 19a204b4b8e0b6067af9095928a602f925966104 | |
parent | ea859cce1e90ea562f006c69412eddd8d93eb516 [diff] |
drivers: nrf_rtc_timer: Adjust set_absolute_alarm to prevent CC misses This is a follow-up to commit 205e684958ebea4d7f2a15d75b94aac880fb2390. The recently added nrf_rtc_timer test case (test_next_cycle_timeouts) revealed a problem in the current implementation of this function. Adjust it to avoid missing COMPARE events in specific circumstances. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>