Open
Description
I am using LMIC on nRF52 platform. I have successfully ported hal.cpp and now I want to switch to using interrupts. Mainly I want to sleep while waiting for RX as that's the majority of time the library spends busy-waiting. I have started by looking around the code base and noticed this place:
arduino-lmic/src/lmic/oslmic.c
Line 153 in 8d378ea
System is being put to sleep with interrupts disabled. If so, how will it wake-up from the sleep? Isn't this a bug?