remove bs

This commit is contained in:
Naxdy 2024-03-11 21:03:36 +01:00
parent eacb979c61
commit 44de7e2330
No known key found for this signature in database
GPG key ID: C0437AAE9755550F

View file

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