rp: Fix write size in embassy-boot example app

This commit is contained in:
kalkyl 2023-08-30 23:20:38 +02:00
parent 5c936d33d4
commit 3769447382

View File

@ -38,7 +38,7 @@ async fn main(_s: Spawner) {
let flash = Mutex::new(RefCell::new(flash));
let config = FirmwareUpdaterConfig::from_linkerfile_blocking(&flash);
let mut aligned = AlignedBuffer([0; 4]);
let mut aligned = AlignedBuffer([0; 1]);
let mut updater = BlockingFirmwareUpdater::new(config, &mut aligned.0);
Timer::after(Duration::from_secs(5)).await;