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

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