Let Flash<Async/Blocking> be a thing
This commit is contained in:
@ -26,7 +26,7 @@ async fn main(_s: Spawner) {
|
||||
let mut watchdog = Watchdog::new(p.WATCHDOG);
|
||||
watchdog.start(Duration::from_secs(8));
|
||||
|
||||
let mut flash: Flash<_, FLASH_SIZE> = Flash::new_blocking_only(p.FLASH);
|
||||
let mut flash: Flash<_, FLASH_SIZE> = Flash::new_blocking(p.FLASH);
|
||||
|
||||
let mut updater = FirmwareUpdater::default();
|
||||
|
||||
|
Reference in New Issue
Block a user