Let Flash<Async/Blocking> be a thing
This commit is contained in:
@ -14,7 +14,7 @@ async fn main(_spawner: Spawner) {
|
||||
|
||||
// Once can also call `into_regions()` to get access to NorFlash implementations
|
||||
// for each of the unique characteristics.
|
||||
let mut f = Flash::new_blocking_only(p.FLASH);
|
||||
let mut f = Flash::new_blocking(p.FLASH);
|
||||
|
||||
// Sector 5
|
||||
test_flash(&mut f, 128 * 1024, 128 * 1024);
|
||||
|
Reference in New Issue
Block a user