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/stm32f3/src | |
| parent | 15636f05f54458a184f0e117b1cfdb9d8e929f1d (diff) | |
Align with new bind_interrupt
Diffstat (limited to 'examples/boot/application/stm32f3/src')
| -rw-r--r-- | examples/boot/application/stm32f3/src/bin/a.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/boot/application/stm32f3/src/bin/a.rs b/examples/boot/application/stm32f3/src/bin/a.rs index d92d59b29..a69b6327f 100644 --- a/examples/boot/application/stm32f3/src/bin/a.rs +++ b/examples/boot/application/stm32f3/src/bin/a.rs | |||
| @@ -17,7 +17,7 @@ static APP_B: &[u8] = include_bytes!("../../b.bin"); | |||
| 17 | #[embassy_executor::main] | 17 | #[embassy_executor::main] |
| 18 | async fn main(_spawner: Spawner) { | 18 | async fn main(_spawner: Spawner) { |
| 19 | let p = embassy_stm32::init(Default::default()); | 19 | let p = embassy_stm32::init(Default::default()); |
| 20 | let flash = Flash::new(p.FLASH); | 20 | let flash = Flash::new_blocking_only(p.FLASH); |
| 21 | let mut flash = BlockingAsync::new(flash); | 21 | let mut flash = BlockingAsync::new(flash); |
| 22 | 22 | ||
| 23 | let button = Input::new(p.PC13, Pull::Up); | 23 | let button = Input::new(p.PC13, Pull::Up); |
