Align flash examples

This commit is contained in:
Rasmus Melchior Jacobsen
2023-04-05 10:55:31 +02:00
parent 57d3d4d581
commit 2a49e11cb0
7 changed files with 15 additions and 14 deletions

View File

@ -15,7 +15,7 @@ async fn main(_spawner: Spawner) {
const ADDR: u32 = 0x26000;
let mut f = Flash::new(p.FLASH);
let mut f = Flash::new(p.FLASH).into_regions().bank1_region;
info!("Reading...");
let mut buf = [0u8; 8];