diff options
| author | Rasmus Melchior Jacobsen <[email protected]> | 2023-05-25 13:42:42 +0200 |
|---|---|---|
| committer | Rasmus Melchior Jacobsen <[email protected]> | 2023-05-25 20:07:42 +0200 |
| commit | 7371eefa8666c304fce5c0e25f5315b1f10161fa (patch) | |
| tree | 5f497dd02f3c08e7a383c43eefeb9763f59705d5 /examples/boot/application/stm32h7 | |
| parent | 15636f05f54458a184f0e117b1cfdb9d8e929f1d (diff) | |
Align with new bind_interrupt
Diffstat (limited to 'examples/boot/application/stm32h7')
| -rw-r--r-- | examples/boot/application/stm32h7/src/bin/a.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/boot/application/stm32h7/src/bin/a.rs b/examples/boot/application/stm32h7/src/bin/a.rs index 8b452be34..b8617c3bd 100644 --- a/examples/boot/application/stm32h7/src/bin/a.rs +++ b/examples/boot/application/stm32h7/src/bin/a.rs | |||
| @@ -16,7 +16,7 @@ static APP_B: &[u8] = include_bytes!("../../b.bin"); | |||
| 16 | #[embassy_executor::main] | 16 | #[embassy_executor::main] |
| 17 | async fn main(_spawner: Spawner) { | 17 | async fn main(_spawner: Spawner) { |
| 18 | let p = embassy_stm32::init(Default::default()); | 18 | let p = embassy_stm32::init(Default::default()); |
| 19 | let mut flash = Flash::new(p.FLASH); | 19 | let mut flash = Flash::new_blocking_only(p.FLASH); |
| 20 | 20 | ||
| 21 | let button = Input::new(p.PC13, Pull::Down); | 21 | let button = Input::new(p.PC13, Pull::Down); |
| 22 | let mut button = ExtiInput::new(button, p.EXTI13); | 22 | let mut button = ExtiInput::new(button, p.EXTI13); |
