forked from NaxdyOrg/NaxGCC-FW
remove bs
This commit is contained in:
parent
eacb979c61
commit
44de7e2330
1 changed files with 0 additions and 14 deletions
14
src/main.rs
14
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(),
|
||||
|
|
Loading…
Reference in a new issue