From 44de7e2330ee6270fe1f5bd3f3b771cf768d35f7 Mon Sep 17 00:00:00 2001 From: Naxdy Date: Mon, 11 Mar 2024 21:03:36 +0100 Subject: [PATCH] remove bs --- src/main.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/main.rs b/src/main.rs index 3ada658..6c83554 100644 --- a/src/main.rs +++ b/src/main.rs @@ -118,11 +118,6 @@ fn main() -> ! { &mut pac.RESETS, )); - unsafe { - let r = read_from_flash(); - info!("Byte read from flash is {:02X}", r); - } - let mut mc = Multicore::new(&mut pac.PSM, &mut pac.PPB, &mut sio.fifo); let cores = mc.cores(); let core1 = &mut cores[1]; @@ -174,15 +169,6 @@ fn main() -> ! { } } - unsafe { - LOCKED = true; - timer.delay_ms(100); - let some_byte: u8 = 0xAB; - info!("Byte to be written is {:02X}", some_byte); - write_to_flash(some_byte); - LOCKED = false; - } - input_loop(BasicInputs { button_a: pins.gpio17.into_pull_up_input(), button_b: pins.gpio16.into_pull_up_input(),