Remove ability to set alt layout - it does not work.

This commit is contained in:
Rasmus Melchior Jacobsen
2023-05-26 15:23:36 +02:00
parent 31b364b9b0
commit fee89ed7c7
9 changed files with 29 additions and 34 deletions

View File

@ -7,7 +7,9 @@ use super::{FlashRegion, FlashSector, FLASH_REGIONS, WRITE_SIZE};
use crate::flash::Error;
use crate::pac;
pub const fn set_default_layout() {}
pub const fn is_default_layout() -> bool {
true
}
pub const fn get_flash_regions() -> &'static [&'static FlashRegion] {
&FLASH_REGIONS