Let Flash<Async/Blocking> be a thing
This commit is contained in:
@ -14,7 +14,7 @@ async fn main(_spawner: Spawner) {
|
||||
|
||||
const ADDR: u32 = 0x26000;
|
||||
|
||||
let mut f = Flash::new_blocking_only(p.FLASH).into_blocking_regions().bank1_region;
|
||||
let mut f = Flash::new_blocking(p.FLASH).into_blocking_regions().bank1_region;
|
||||
|
||||
info!("Reading...");
|
||||
let mut buf = [0u8; 8];
|
||||
|
Reference in New Issue
Block a user