aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32n6
diff options
context:
space:
mode:
authorWillaWillNot <[email protected]>2025-11-22 16:48:19 -0500
committerWillaWillNot <[email protected]>2025-11-22 16:48:46 -0500
commit764c921a573e42f510a74d61f31302b8609bbd6c (patch)
tree546d74daf73f501f7a29a929793ba2a55b47f3a4 /examples/stm32n6
parent54d57bc72f0e2b3eef0fa92d0b730ed6efd7bcaa (diff)
Reverted adding AnyBinding, removed AnyChannel, removed ability for ExtiInput to accept AnyPin and AnyChannel arguments, added ExtiPin trait for all pins which is lost on converstion to AnyPin and contains type-level ExtiChannel information
Diffstat (limited to 'examples/stm32n6')
-rw-r--r--examples/stm32n6/src/bin/blinky.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/stm32n6/src/bin/blinky.rs b/examples/stm32n6/src/bin/blinky.rs
index 764b8d6ef..a8baf16af 100644
--- a/examples/stm32n6/src/bin/blinky.rs
+++ b/examples/stm32n6/src/bin/blinky.rs
@@ -28,12 +28,7 @@ async fn main(spawner: Spawner) {
28 info!("Hello World!"); 28 info!("Hello World!");
29 29
30 let mut led = Output::new(p.PG10, Level::High, Speed::Low); 30 let mut led = Output::new(p.PG10, Level::High, Speed::Low);
31 let button = ExtiInput::new( 31 let button = ExtiInput::new(p.PC13, p.EXTI13, Pull::Up, Irqs);
32 p.PC13,
33 p.EXTI13,
34 Pull::Up,
35 Irqs::as_any::<interrupt::typelevel::EXTI13, exti::InterruptHandler<interrupt::typelevel::EXTI13>>(),
36 );
37 32
38 spawner.spawn(button_task(button).unwrap()); 33 spawner.spawn(button_task(button).unwrap());
39 34