mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 22:35:19 +01:00
MASK behind cfg
This commit is contained in:
parent
c6231d81d8
commit
33174ac65b
3 changed files with 63 additions and 1 deletions
|
|
@ -135,6 +135,7 @@ pub fn codegen(
|
|||
let mask_arr: Vec<_> = mask_arr.iter().map(|(_, v)| v).collect();
|
||||
|
||||
mod_app.push(quote!(
|
||||
#[cfg(not(armv7m))]
|
||||
const MASKS: [u32; 3] = [#(#mask_arr),*];
|
||||
));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue