Let the FlashRegion for region types be public
This commit is contained in:
parent
50b0fb1a37
commit
268e29b153
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ fn main() {
|
||||||
|
|
||||||
let region_type = format_ident!("{}", get_flash_region_type_name(region.name));
|
let region_type = format_ident!("{}", get_flash_region_type_name(region.name));
|
||||||
flash_regions.extend(quote! {
|
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 a new issue