Fix CI error caused by critical-section 0.2.8

This commit is contained in:
Emil Fresk 2022-12-14 21:26:40 +01:00
parent 9afb1f888f
commit d6edeb6a64
3 changed files with 17 additions and 1 deletions

View file

@ -147,6 +147,7 @@ pub fn codegen(
None
}
})) {
#[allow(clippy::or_fun_call)]
let v = prio_to_masks.entry(priority - 1).or_insert(Vec::new());
v.push(quote!(#device::Interrupt::#name as u32));
mask_ids.push(quote!(#device::Interrupt::#name as u32));