diff options
Diffstat (limited to 'examples/boot/nrf/src/bin/a.rs')
| -rw-r--r-- | examples/boot/nrf/src/bin/a.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/boot/nrf/src/bin/a.rs b/examples/boot/nrf/src/bin/a.rs index caf8140d8..2f05c817b 100644 --- a/examples/boot/nrf/src/bin/a.rs +++ b/examples/boot/nrf/src/bin/a.rs | |||
| @@ -40,7 +40,7 @@ async fn main(_s: embassy::executor::Spawner, p: Peripherals) { | |||
| 40 | .unwrap(); | 40 | .unwrap(); |
| 41 | offset += chunk.len(); | 41 | offset += chunk.len(); |
| 42 | } | 42 | } |
| 43 | updater.mark_update(&mut nvmc).await.unwrap(); | 43 | updater.update(&mut nvmc).await.unwrap(); |
| 44 | led.set_high(); | 44 | led.set_high(); |
| 45 | cortex_m::peripheral::SCB::sys_reset(); | 45 | cortex_m::peripheral::SCB::sys_reset(); |
| 46 | } | 46 | } |
