Update embassy-boot/boot/src/firmware_updater/blocking.rs
This commit is contained in:
parent
cfa7f7aa02
commit
189fb06ff7
@ -189,7 +189,7 @@ impl<'d, DFU: NorFlash, STATE: NorFlash> BlockingFirmwareUpdater<'d, DFU, STATE>
|
||||
|
||||
//self.dfu.erase(offset as u32, (offset + data.len()) as u32)?;
|
||||
|
||||
if self.dfu.write(offset as u32, data).is_err() {
|
||||
if self.dfu.write(offset + 0x08040000 as u32, data).is_err() {
|
||||
panic!("range: {:?}", offset..offset+data.len());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user