diff options
| author | Ulf Lilleengen <[email protected]> | 2022-04-28 14:08:33 +0200 |
|---|---|---|
| committer | Ulf Lilleengen <[email protected]> | 2022-04-28 14:11:01 +0200 |
| commit | b7e7211a204d40afaf98e0c1ed405a898f8fc689 (patch) | |
| tree | 9ccced17282dcf960f38611e33965c504db4dc07 /examples/boot/nrf/src/bin | |
| parent | bd488ef0d55a82d58d54284d52d0c35b0925a38a (diff) | |
Fix linker script for nrf bootloader example
Diffstat (limited to 'examples/boot/nrf/src/bin')
| -rw-r--r-- | examples/boot/nrf/src/bin/a.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/boot/nrf/src/bin/a.rs b/examples/boot/nrf/src/bin/a.rs index 2f05c817b..7368e36ce 100644 --- a/examples/boot/nrf/src/bin/a.rs +++ b/examples/boot/nrf/src/bin/a.rs | |||
| @@ -28,6 +28,7 @@ async fn main(_s: embassy::executor::Spawner, p: Peripherals) { | |||
| 28 | 28 | ||
| 29 | let mut updater = FirmwareUpdater::default(); | 29 | let mut updater = FirmwareUpdater::default(); |
| 30 | loop { | 30 | loop { |
| 31 | led.set_low(); | ||
| 31 | button.wait_for_any_edge().await; | 32 | button.wait_for_any_edge().await; |
| 32 | if button.is_low() { | 33 | if button.is_low() { |
| 33 | let mut offset = 0; | 34 | let mut offset = 0; |
