changed ADDR variable to addr

This commit is contained in:
dev-guruprasath 2023-07-31 15:36:25 +05:30
parent 5a2f61a031
commit b4d0f24bf9

View file

@ -12,7 +12,7 @@ async fn main(_spawner: Spawner) {
let p = embassy_stm32::init(Default::default()); let p = embassy_stm32::init(Default::default());
info!("Hello World!"); info!("Hello World!");
let ADDR: u32 = 0x8000; let addr: u32 = 0x8000;
let mut f = Flash::new_blocking(p.FLASH).into_blocking_regions().bank1_region; let mut f = Flash::new_blocking(p.FLASH).into_blocking_regions().bank1_region;