diff options
| author | Rasmus Melchior Jacobsen <[email protected]> | 2023-05-25 21:40:54 +0200 |
|---|---|---|
| committer | Rasmus Melchior Jacobsen <[email protected]> | 2023-05-25 21:40:54 +0200 |
| commit | 860b519f9993bd8991849c680aae058558aadfbd (patch) | |
| tree | a0f815620d3be788cb69f0c97c6e42480ee24bae /examples/boot/application/rp/src | |
| parent | 18d14dff48d1fd49cfd43fb94304bf932a74a6ca (diff) | |
Let Flash<Async/Blocking> be a thing
Diffstat (limited to 'examples/boot/application/rp/src')
| -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 2b84ec614..47f1d16d8 100644 --- a/examples/boot/application/rp/src/bin/a.rs +++ b/examples/boot/application/rp/src/bin/a.rs | |||
| @@ -26,7 +26,7 @@ async fn main(_s: Spawner) { | |||
| 26 | let mut watchdog = Watchdog::new(p.WATCHDOG); | 26 | let mut watchdog = Watchdog::new(p.WATCHDOG); |
| 27 | watchdog.start(Duration::from_secs(8)); | 27 | watchdog.start(Duration::from_secs(8)); |
| 28 | 28 | ||
| 29 | let mut flash: Flash<_, FLASH_SIZE> = Flash::new_blocking_only(p.FLASH); | 29 | let mut flash: Flash<_, FLASH_SIZE> = Flash::new_blocking(p.FLASH); |
| 30 | 30 | ||
| 31 | let mut updater = FirmwareUpdater::default(); | 31 | let mut updater = FirmwareUpdater::default(); |
| 32 | 32 | ||
