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(),