aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias <[email protected]>2023-04-18 15:54:13 +0200
committerMathias <[email protected]>2023-04-18 16:03:55 +0200
commitbba8b0ded52383e9a958e11322ac5c75d01e70de (patch)
tree019cc5862194f3e35f5f88c65f16447474be7a35
parent095f5ef279b58da0e3b63559b4f1a039538673c9 (diff)
Missing semi-colon
-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 7959cca03..a85d3db6e 100644
--- a/embassy-stm32/build.rs
+++ b/embassy-stm32/build.rs
@@ -261,7 +261,7 @@ fn main() {
261 .max() 261 .max()
262 .unwrap(); 262 .unwrap();
263 263
264 g.extend(quote! { pub const MAX_ERASE_SIZE: u32 = #max_erase_size }); 264 g.extend(quote! { pub const MAX_ERASE_SIZE: usize = #max_erase_size as usize; });
265 265
266 g.extend(quote! { pub mod flash_regions { #flash_regions } }); 266 g.extend(quote! { pub mod flash_regions { #flash_regions } });
267 267