diff options
| author | Mehmet Ali Anil <[email protected]> | 2023-03-06 22:08:47 +0100 |
|---|---|---|
| committer | Mehmet Ali Anil <[email protected]> | 2023-03-06 22:16:36 +0100 |
| commit | bc0cb43307c2a46330ce253505203dbc607bcc6c (patch) | |
| tree | fa0ddab9184b802efa9e6313c90847ad167184c5 /embassy-boot/boot/src | |
| parent | 2209bef4f22bf77d9d52cda0a0ea40485cc2747a (diff) | |
Bump embedded-storage-async to 0.4
Diffstat (limited to 'embassy-boot/boot/src')
| -rw-r--r-- | embassy-boot/boot/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-boot/boot/src/lib.rs b/embassy-boot/boot/src/lib.rs index be254e9d7..b5dad5046 100644 --- a/embassy-boot/boot/src/lib.rs +++ b/embassy-boot/boot/src/lib.rs | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | mod fmt; | 5 | mod fmt; |
| 6 | 6 | ||
| 7 | use embedded_storage::nor_flash::{ErrorType, NorFlash, NorFlashError, NorFlashErrorKind, ReadNorFlash}; | 7 | use embedded_storage::nor_flash::{ErrorType, NorFlash, NorFlashError, NorFlashErrorKind, ReadNorFlash}; |
| 8 | use embedded_storage_async::nor_flash::AsyncNorFlash; | 8 | use embedded_storage_async::nor_flash::NorFlash as AsyncNorFlash; |
| 9 | 9 | ||
| 10 | const BOOT_MAGIC: u8 = 0xD0; | 10 | const BOOT_MAGIC: u8 = 0xD0; |
| 11 | const SWAP_MAGIC: u8 = 0xF0; | 11 | const SWAP_MAGIC: u8 = 0xF0; |
| @@ -1199,7 +1199,7 @@ mod tests { | |||
| 1199 | use core::future::Future; | 1199 | use core::future::Future; |
| 1200 | 1200 | ||
| 1201 | use embedded_storage::nor_flash::ErrorType; | 1201 | use embedded_storage::nor_flash::ErrorType; |
| 1202 | use embedded_storage_async::nor_flash::AsyncReadNorFlash; | 1202 | use embedded_storage_async::nor_flash::ReadNorFlash as AsyncReadNorFlash; |
| 1203 | use futures::executor::block_on; | 1203 | use futures::executor::block_on; |
| 1204 | 1204 | ||
| 1205 | use super::*; | 1205 | use super::*; |
