diff options
Diffstat (limited to 'examples/boot/application/rp/src/bin/a.rs')
| -rw-r--r-- | examples/boot/application/rp/src/bin/a.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/boot/application/rp/src/bin/a.rs b/examples/boot/application/rp/src/bin/a.rs index 15fdaca82..a4602a7ed 100644 --- a/examples/boot/application/rp/src/bin/a.rs +++ b/examples/boot/application/rp/src/bin/a.rs | |||
| @@ -38,7 +38,7 @@ async fn main(_s: Spawner) { | |||
| 38 | let flash = Mutex::new(RefCell::new(flash)); | 38 | let flash = Mutex::new(RefCell::new(flash)); |
| 39 | 39 | ||
| 40 | let config = FirmwareUpdaterConfig::from_linkerfile_blocking(&flash); | 40 | let config = FirmwareUpdaterConfig::from_linkerfile_blocking(&flash); |
| 41 | let mut aligned = AlignedBuffer([0; 4]); | 41 | let mut aligned = AlignedBuffer([0; 1]); |
| 42 | let mut updater = BlockingFirmwareUpdater::new(config, &mut aligned.0); | 42 | let mut updater = BlockingFirmwareUpdater::new(config, &mut aligned.0); |
| 43 | 43 | ||
| 44 | Timer::after(Duration::from_secs(5)).await; | 44 | Timer::after(Duration::from_secs(5)).await; |
