Update embassy-boot/boot/src/firmware_updater/blocking.rs

This commit is contained in:
Max Känner 2023-12-21 18:24:41 +01:00
parent 5a6eaa5f74
commit 48c802859f

View File

@ -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 + 0x08040000, data).is_err() {
if self.dfu.write(offset as u32 + 0x08100000, data).is_err() {
panic!("range: {:?}", offset..offset+data.len());
}