Align with new bind_interrupt

This commit is contained in:
Rasmus Melchior Jacobsen
2023-05-25 13:42:42 +02:00
parent 15636f05f5
commit 7371eefa86
25 changed files with 71 additions and 40 deletions

View File

@ -17,7 +17,7 @@ static APP_B: &[u8] = include_bytes!("../../b.bin");
#[embassy_executor::main]
async fn main(_spawner: Spawner) {
let p = embassy_stm32::init(Default::default());
let flash = Flash::new(p.FLASH);
let flash = Flash::new_blocking_only(p.FLASH);
let mut flash = BlockingAsync::new(flash);
let button = Input::new(p.PC13, Pull::Up);