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

This commit is contained in:
Max Känner 2023-12-21 18:18:43 +01:00
parent 97e73210c6
commit ecb018f51c

View File

@ -189,8 +189,8 @@ impl<'d, DFU: NorFlash, STATE: NorFlash> BlockingFirmwareUpdater<'d, DFU, STATE>
//self.dfu.erase(offset as u32, (offset + data.len()) as u32)?; //self.dfu.erase(offset as u32, (offset + data.len()) as u32)?;
self.dfu.write(offset as u32, data)?;
panic!("range: {:?}", offset..offset+data.len()); panic!("range: {:?}", offset..offset+data.len());
self.dfu.write(offset as u32, data)?;
Ok(()) Ok(())
} }