aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}