Let get_flash_regions be public

This commit is contained in:
Rasmus Melchior Jacobsen
2023-03-31 15:47:45 +02:00
parent f3dcb5eb22
commit 50b0fb1a37
6 changed files with 7 additions and 7 deletions

View File

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