We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57b4d01 + c72c679 commit 6f9078cCopy full SHA for 6f9078c
ports/nrf/supervisor/port.c
@@ -364,12 +364,9 @@ void port_idle_until_interrupt(void) {
364
365
sd_softdevice_is_enabled(&sd_enabled);
366
if (sd_enabled) {
367
- uint8_t is_nested_critical_region;
368
- sd_nvic_critical_region_enter(&is_nested_critical_region);
369
if (!background_callback_pending()) {
370
sd_app_evt_wait();
371
}
372
- sd_nvic_critical_region_exit(is_nested_critical_region);
373
} else {
374
// Call wait for interrupt ourselves if the SD isn't enabled.
375
// Note that `wfi` should be called with interrupts disabled,
0 commit comments