mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 06:53:52 +01:00
Merge pull request #11395 from SemjonKerner/nrfmin_fix_isr
cpu/nrf5x/nrfmin: fix isr termination
This commit is contained in:
commit
5e789c6595
@ -302,10 +302,11 @@ void isr_radio(void)
|
||||
if ((NRF_RADIO->CRCSTATUS != 1) || !(nrfmin_dev.event_callback)) {
|
||||
rx_buf.pkt.hdr.len = 0;
|
||||
NRF_RADIO->TASKS_START = 1;
|
||||
return;
|
||||
}
|
||||
rx_lock = 0;
|
||||
nrfmin_dev.event_callback(&nrfmin_dev, NETDEV_EVENT_ISR);
|
||||
else {
|
||||
rx_lock = 0;
|
||||
nrfmin_dev.event_callback(&nrfmin_dev, NETDEV_EVENT_ISR);
|
||||
}
|
||||
}
|
||||
else if (state == STATE_TX) {
|
||||
goto_target_state();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user