diff options
author | 2022-02-18 19:38:48 +0100 | |
---|---|---|
committer | 2022-02-22 18:56:21 +0100 | |
commit | 5ed93bd1bf056f1d2b8632502300d7488df4e9df (patch) | |
tree | 2e1bf40e2eaeeb4b58c996c1659c8a7429e2a518 /macros/src/codegen/software_tasks.rs | |
parent | 57da1e0403510cafbdcf88e402b39ae6d3bf323e (diff) | |
download | rtic-5ed93bd1bf056f1d2b8632502300d7488df4e9df.tar.gz rtic-5ed93bd1bf056f1d2b8632502300d7488df4e9df.tar.zst rtic-5ed93bd1bf056f1d2b8632502300d7488df4e9df.zip |
Clippy with pedantic suggestions
Diffstat (limited to 'macros/src/codegen/software_tasks.rs')
-rw-r--r-- | macros/src/codegen/software_tasks.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/codegen/software_tasks.rs b/macros/src/codegen/software_tasks.rs index 0357003f..77559493 100644 --- a/macros/src/codegen/software_tasks.rs +++ b/macros/src/codegen/software_tasks.rs @@ -43,7 +43,7 @@ pub fn codegen( ( quote!(rtic::export::SCFQ<#cap_lit_p1>), quote!(rtic::export::Queue::new()), - Box::new(|| util::link_section_uninit()), + Box::new(|| Some(util::link_section_uninit())), ) }; mod_app.push(quote!( |