We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a44437b commit d31abceCopy full SHA for d31abce
src/generate.rs
@@ -89,7 +89,7 @@ pub fn interrupt(peripherals: &[Peripheral], items: &mut Vec<Tokens>) {
89
.unwrap_or_else(|| interrupt.name.clone());
90
fields.push(quote! {
91
#[doc = #description]
92
- pub #name: unsafe extern "C" fn(#name_pc),
+ pub #name: extern "C" fn(#name_pc),
93
});
94
95
mod_items.push(quote! {
0 commit comments