aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Melchior Jacobsen <[email protected]>2023-04-01 16:59:21 +0200
committerRasmus Melchior Jacobsen <[email protected]>2023-04-01 16:59:21 +0200
commit268e29b153c9c8a6e3a798a01757669ee31e5409 (patch)
tree04b0a7777d8c7c9bfc5bfbe7d04a3755bddfd79a
parent50b0fb1a376dbc650db785228b181cc3939ac87f (diff)
Let the FlashRegion for region types be public
-rw-r--r--embassy-stm32/build.rs2
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