Missing semi-colon

This commit is contained in:
Mathias 2023-04-18 15:54:13 +02:00
parent 095f5ef279
commit bba8b0ded5

View file

@ -261,7 +261,7 @@ fn main() {
.max()
.unwrap();
g.extend(quote! { pub const MAX_ERASE_SIZE: u32 = #max_erase_size });
g.extend(quote! { pub const MAX_ERASE_SIZE: usize = #max_erase_size as usize; });
g.extend(quote! { pub mod flash_regions { #flash_regions } });