diff options
| -rw-r--r-- | embassy-stm32/build.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/build.rs b/embassy-stm32/build.rs index 4ca3ef3f0..67b081fee 100644 --- a/embassy-stm32/build.rs +++ b/embassy-stm32/build.rs | |||
| @@ -145,7 +145,7 @@ fn main() { | |||
| 145 | 145 | ||
| 146 | let region_type = format_ident!("{}", get_flash_region_type_name(region.name)); | 146 | let region_type = format_ident!("{}", get_flash_region_type_name(region.name)); |
| 147 | flash_regions.extend(quote! { | 147 | flash_regions.extend(quote! { |
| 148 | pub struct #region_type(pub(crate) &'static crate::flash::FlashRegion); | 148 | pub struct #region_type(pub &'static crate::flash::FlashRegion); |
| 149 | }); | 149 | }); |
| 150 | } | 150 | } |
| 151 | 151 | ||
