diff options
| author | Rasmus Melchior Jacobsen <[email protected]> | 2023-05-23 23:01:55 +0200 |
|---|---|---|
| committer | Rasmus Melchior Jacobsen <[email protected]> | 2023-05-23 23:01:55 +0200 |
| commit | 87acf5f50f2a976cae7546f691fb14ba7b81c714 (patch) | |
| tree | 98e33f2af6a694ce8242f770a0f3b2a1a6ef4493 | |
| parent | 14e3e72b0f54fe17245027be468fed30aba39266 (diff) | |
Add missing set_default_layout() in "other" family
| -rw-r--r-- | embassy-stm32/src/flash/other.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-stm32/src/flash/other.rs b/embassy-stm32/src/flash/other.rs index c151cb828..556034654 100644 --- a/embassy-stm32/src/flash/other.rs +++ b/embassy-stm32/src/flash/other.rs | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | 2 | ||
| 3 | use super::{Error, FlashRegion, FlashSector, FLASH_REGIONS, WRITE_SIZE}; | 3 | use super::{Error, FlashRegion, FlashSector, FLASH_REGIONS, WRITE_SIZE}; |
| 4 | 4 | ||
| 5 | pub const fn set_default_layout() {} | ||
| 6 | |||
| 5 | pub const fn get_flash_regions() -> &'static [&'static FlashRegion] { | 7 | pub const fn get_flash_regions() -> &'static [&'static FlashRegion] { |
| 6 | &FLASH_REGIONS | 8 | &FLASH_REGIONS |
| 7 | } | 9 | } |
