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

@ -11,7 +11,7 @@ const fn is_dual_bank() -> bool {
FLASH_REGIONS.len() == 2
}
pub(crate) fn get_flash_regions() -> &'static [&'static FlashRegion] {
pub fn get_flash_regions() -> &'static [&'static FlashRegion] {
&FLASH_REGIONS
}