diff options
author | 2019-08-20 15:11:24 +0200 | |
---|---|---|
committer | 2019-08-20 15:17:37 +0200 | |
commit | 0e146f8d1142672725b6abb38478f503a9261c80 (patch) | |
tree | 846aedddb91908ac831cd15f7877d5ccfbd9a039 /macros/src/codegen/hardware_tasks.rs | |
parent | 2f4f1857788a3c2c5e8b97a5b7cc2c39c26c659f (diff) | |
download | rtic-0e146f8d1142672725b6abb38478f503a9261c80.tar.gz rtic-0e146f8d1142672725b6abb38478f503a9261c80.tar.zst rtic-0e146f8d1142672725b6abb38478f503a9261c80.zip |
adapt to changes in rtfm-syntax
Diffstat (limited to 'macros/src/codegen/hardware_tasks.rs')
-rw-r--r-- | macros/src/codegen/hardware_tasks.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/src/codegen/hardware_tasks.rs b/macros/src/codegen/hardware_tasks.rs index cf92e078..a9c2a2bd 100644 --- a/macros/src/codegen/hardware_tasks.rs +++ b/macros/src/codegen/hardware_tasks.rs @@ -115,6 +115,7 @@ pub fn codegen( let stmts = &task.stmts; let section = util::link_section("text", core); // XXX shouldn't this have a cfg_core? + let locals_pat = locals_pat.iter(); user_tasks.push(quote!( #(#attrs)* #[allow(non_snake_case)] |