Fix verify test

This commit is contained in:
Rasmus Melchior Jacobsen 2023-05-30 14:07:35 +02:00
parent b527cc98af
commit b703db4c09

View File

@ -287,7 +287,10 @@ mod tests {
// On with the test
let flash = flash.into_async();
let mut updater = FirmwareUpdater::new(flash.dfu(), flash.state());
let mut updater = FirmwareUpdater::new(FirmwareUpdaterConfig {
dfu: flash.dfu(),
state: flash.state(),
});
let mut aligned = [0; 4];