Skip to content

Commit

Permalink
modules: nrfxlib: nrf_802154: fix missed interrupts
Browse files Browse the repository at this point in the history
The current implementation of the nRF 802.15.4 SL lptimer platform for
GRTC-based devices might miss valid interrupts. This commit fixes that.

Signed-off-by: Jędrzej Ciupis <[email protected]>
  • Loading branch information
Jędrzej Ciupis authored and rlubos committed Apr 3, 2024
1 parent 799750a commit 219af6b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ uint64_t nrf_802154_platform_sl_lptimer_lpticks_to_us_convert(uint64_t lpticks)
void nrf_802154_platform_sl_lptimer_schedule_at(uint64_t fire_lpticks)
{
/* This function is not required to be reentrant, hence no critical section. */
atomic_set_bit(&m_enabled, 0);

z_nrf_grtc_timer_set(m_callbacks_cc_channel,
fire_lpticks,
timer_compare_handler,
NULL);

atomic_set_bit(&m_enabled, 0);
}

void nrf_802154_platform_sl_lptimer_disable(void)
Expand Down

0 comments on commit 219af6b

Please sign in to comment.