mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-16 21:05:35 +01:00
don't use deprecated API
This commit is contained in:
parent
da675dc35f
commit
7aa270cb92
2 changed files with 2 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ pub fn codegen(
|
|||
|
||||
// NOTE unmask the interrupt *after* setting its priority: changing the priority of a pended
|
||||
// interrupt is implementation defined
|
||||
stmts.push(quote!(core.NVIC.enable(#device::#interrupt::#name);));
|
||||
stmts.push(quote!(rtfm::export::NVIC::unmask(#device::#interrupt::#name);));
|
||||
}
|
||||
|
||||
// cross-spawn barriers: now that priorities have been set and the interrupts have been unmasked
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue