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

@ -34,7 +34,7 @@ impl<'d> Flash<'d, Async> {
}
pub fn into_regions(self) -> FlashLayout<'d, Async> {
family::set_default_layout();
assert!(family::is_default_layout());
FlashLayout::new(self.inner)
}