Add missing nightly guards
This commit is contained in:
parent
0a26870d36
commit
ff3a70ed9d
@ -139,6 +139,7 @@ mod alt_regions {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "nightly"))]
|
||||
impl embedded_storage_async::nor_flash::ReadNorFlash for $type_name<'_> {
|
||||
const READ_SIZE: usize = READ_SIZE;
|
||||
|
||||
@ -151,6 +152,7 @@ mod alt_regions {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "nightly"))]
|
||||
impl embedded_storage_async::nor_flash::NorFlash for $type_name<'_> {
|
||||
const WRITE_SIZE: usize = $region.write_size as usize;
|
||||
const ERASE_SIZE: usize = $region.erase_size as usize;
|
||||
|
Loading…
x
Reference in New Issue
Block a user