diff options
Diffstat (limited to 'embassy-nrf')
| -rw-r--r-- | embassy-nrf/src/gpiote.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-nrf/src/gpiote.rs b/embassy-nrf/src/gpiote.rs index 626ae892f..060950132 100644 --- a/embassy-nrf/src/gpiote.rs +++ b/embassy-nrf/src/gpiote.rs | |||
| @@ -83,7 +83,7 @@ pub(crate) fn init(irq_prio: crate::interrupt::Priority) { | |||
| 83 | // Enable latched detection | 83 | // Enable latched detection |
| 84 | #[cfg(all(feature = "_s", not(feature = "_nrf54l")))] | 84 | #[cfg(all(feature = "_s", not(feature = "_nrf54l")))] |
| 85 | p.detectmode_sec().write(|w| w.set_detectmode(Detectmode::LDETECT)); | 85 | p.detectmode_sec().write(|w| w.set_detectmode(Detectmode::LDETECT)); |
| 86 | #[cfg(any(not(feature = "_s"), feature = "_nrf54l"))] | 86 | #[cfg(any(not(feature = "_s"), all(feature = "_s", feature = "_nrf54l")))] |
| 87 | p.detectmode().write(|w| w.set_detectmode(Detectmode::LDETECT)); | 87 | p.detectmode().write(|w| w.set_detectmode(Detectmode::LDETECT)); |
| 88 | // Clear latch | 88 | // Clear latch |
| 89 | p.latch().write(|w| w.0 = 0xFFFFFFFF) | 89 | p.latch().write(|w| w.0 = 0xFFFFFFFF) |
