diff options
Diffstat (limited to 'embassy-stm32/src/flash/f4.rs')
| -rw-r--r-- | embassy-stm32/src/flash/f4.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-stm32/src/flash/f4.rs b/embassy-stm32/src/flash/f4.rs index 3e5959ddb..5d07020ce 100644 --- a/embassy-stm32/src/flash/f4.rs +++ b/embassy-stm32/src/flash/f4.rs | |||
| @@ -142,7 +142,6 @@ mod alt_regions { | |||
| 142 | } | 142 | } |
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | #[cfg(feature = "nightly")] | ||
| 146 | impl embedded_storage_async::nor_flash::ReadNorFlash for $type_name<'_, Async> { | 145 | impl embedded_storage_async::nor_flash::ReadNorFlash for $type_name<'_, Async> { |
| 147 | const READ_SIZE: usize = crate::flash::READ_SIZE; | 146 | const READ_SIZE: usize = crate::flash::READ_SIZE; |
| 148 | 147 | ||
| @@ -155,7 +154,6 @@ mod alt_regions { | |||
| 155 | } | 154 | } |
| 156 | } | 155 | } |
| 157 | 156 | ||
| 158 | #[cfg(feature = "nightly")] | ||
| 159 | impl embedded_storage_async::nor_flash::NorFlash for $type_name<'_, Async> { | 157 | impl embedded_storage_async::nor_flash::NorFlash for $type_name<'_, Async> { |
| 160 | const WRITE_SIZE: usize = $region.write_size as usize; | 158 | const WRITE_SIZE: usize = $region.write_size as usize; |
| 161 | const ERASE_SIZE: usize = $region.erase_size as usize; | 159 | const ERASE_SIZE: usize = $region.erase_size as usize; |
