diff options
| author | Elias Hanelt <[email protected]> | 2025-11-25 13:18:00 -0800 |
|---|---|---|
| committer | Elias Hanelt <[email protected]> | 2025-11-25 13:18:00 -0800 |
| commit | 2b219b7cb59ec3e4370edc88538ea3ea996f37b9 (patch) | |
| tree | c602a4b7c39d50ada628f2d715c6cc59f2e35c3a /examples/nrf54l15/src | |
| parent | 576fb23faabf6df7f2c9ed2039e94d3586a3788f (diff) | |
| parent | 906eaee53f84381dd10583894edf2de67275f083 (diff) | |
Merge remote-tracking branch 'origin/main' into feature/spi-bidi
Diffstat (limited to 'examples/nrf54l15/src')
| -rw-r--r-- | examples/nrf54l15/src/bin/gpiote_channel.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/nrf54l15/src/bin/gpiote_channel.rs b/examples/nrf54l15/src/bin/gpiote_channel.rs index 6333250ba..cac8823f8 100644 --- a/examples/nrf54l15/src/bin/gpiote_channel.rs +++ b/examples/nrf54l15/src/bin/gpiote_channel.rs | |||
| @@ -12,10 +12,10 @@ async fn main(_spawner: Spawner) { | |||
| 12 | let p = embassy_nrf::init(Default::default()); | 12 | let p = embassy_nrf::init(Default::default()); |
| 13 | info!("Starting!"); | 13 | info!("Starting!"); |
| 14 | 14 | ||
| 15 | let ch1 = InputChannel::new(p.GPIOTE20_CH0, p.P1_13, Pull::Up, InputChannelPolarity::HiToLo); | 15 | let mut ch1 = InputChannel::new(p.GPIOTE20_CH0, p.P1_13, Pull::Up, InputChannelPolarity::HiToLo); |
| 16 | let ch2 = InputChannel::new(p.GPIOTE20_CH1, p.P1_09, Pull::Up, InputChannelPolarity::LoToHi); | 16 | let mut ch2 = InputChannel::new(p.GPIOTE20_CH1, p.P1_09, Pull::Up, InputChannelPolarity::LoToHi); |
| 17 | let ch3 = InputChannel::new(p.GPIOTE20_CH2, p.P1_08, Pull::Up, InputChannelPolarity::Toggle); | 17 | let mut ch3 = InputChannel::new(p.GPIOTE20_CH2, p.P1_08, Pull::Up, InputChannelPolarity::Toggle); |
| 18 | let ch4 = InputChannel::new(p.GPIOTE30_CH0, p.P0_04, Pull::Up, InputChannelPolarity::Toggle); | 18 | let mut ch4 = InputChannel::new(p.GPIOTE30_CH0, p.P0_04, Pull::Up, InputChannelPolarity::Toggle); |
| 19 | 19 | ||
| 20 | let button1 = async { | 20 | let button1 = async { |
| 21 | loop { | 21 | loop { |
