From 87acf5f50f2a976cae7546f691fb14ba7b81c714 Mon Sep 17 00:00:00 2001 From: Rasmus Melchior Jacobsen Date: Tue, 23 May 2023 23:01:55 +0200 Subject: [PATCH] Add missing set_default_layout() in "other" family --- embassy-stm32/src/flash/other.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/embassy-stm32/src/flash/other.rs b/embassy-stm32/src/flash/other.rs index c151cb82..55603465 100644 --- a/embassy-stm32/src/flash/other.rs +++ b/embassy-stm32/src/flash/other.rs @@ -2,6 +2,8 @@ use super::{Error, FlashRegion, FlashSector, FLASH_REGIONS, WRITE_SIZE}; +pub const fn set_default_layout() {} + pub const fn get_flash_regions() -> &'static [&'static FlashRegion] { &FLASH_REGIONS }