Merge pull request #1848 from kalkyl/rp-write-size
rp: Fix write size in embassy-boot example app
This commit is contained in:
commit
a2ce3aa1a1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user