Let the FlashRegion for region types be public
This commit is contained in:
parent
50b0fb1a37
commit
268e29b153
@ -145,7 +145,7 @@ fn main() {
|
||||
|
||||
let region_type = format_ident!("{}", get_flash_region_type_name(region.name));
|
||||
flash_regions.extend(quote! {
|
||||
pub struct #region_type(pub(crate) &'static crate::flash::FlashRegion);
|
||||
pub struct #region_type(pub &'static crate::flash::FlashRegion);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user