aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Melchior Jacobsen <[email protected]>2023-05-23 23:01:55 +0200
committerRasmus Melchior Jacobsen <[email protected]>2023-05-23 23:01:55 +0200
commit87acf5f50f2a976cae7546f691fb14ba7b81c714 (patch)
tree98e33f2af6a694ce8242f770a0f3b2a1a6ef4493
parent14e3e72b0f54fe17245027be468fed30aba39266 (diff)
Add missing set_default_layout() in "other" family
-rw-r--r--embassy-stm32/src/flash/other.rs2
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
3use super::{Error, FlashRegion, FlashSector, FLASH_REGIONS, WRITE_SIZE}; 3use super::{Error, FlashRegion, FlashSector, FLASH_REGIONS, WRITE_SIZE};
4 4
5pub const fn set_default_layout() {}
6
5pub const fn get_flash_regions() -> &'static [&'static FlashRegion] { 7pub const fn get_flash_regions() -> &'static [&'static FlashRegion] {
6 &FLASH_REGIONS 8 &FLASH_REGIONS
7} 9}