embassy/embassy-nrf
Liam Murphy 079526559f Remove critical sections from PeripheralMutex interrupt handler by checking the interrupt's priority on startup.
Since `PeripheralMutex` is the only way to safely maintain state across interrupts, and it no longer allows setting the interrupt's priority, the priority changing isn't a concern.

This also prevents other causes of UB due to the interrupt being exposed during `with`, and allowing enabling the interrupt and setting its context to a bogus pointer.
2021-07-27 17:28:52 +10:00
..
src Remove critical sections from PeripheralMutex interrupt handler by checking the interrupt's priority on startup. 2021-07-27 17:28:52 +10:00
Cargo.toml Add an nRF RNG driver 2021-06-29 17:26:16 +10:00