aboutsummaryrefslogtreecommitdiff
path: root/macros/src/codegen/module.rs
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2021-07-08 23:18:44 +0200
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2021-07-08 23:18:44 +0200
commit8f3704378295fe8007290dbddbc1f4946ac599f9 (patch)
tree3969e6f6bccfd16e187d7d5ccd56d269d3d9bb9e /macros/src/codegen/module.rs
parent98d2af9d73da56910c8bb6cb662fbc4d609a704a (diff)
downloadrtic-8f3704378295fe8007290dbddbc1f4946ac599f9.tar.gz
rtic-8f3704378295fe8007290dbddbc1f4946ac599f9.tar.zst
rtic-8f3704378295fe8007290dbddbc1f4946ac599f9.zip
Cleanup from review (needs releases to compile)
Diffstat (limited to 'macros/src/codegen/module.rs')
-rw-r--r--macros/src/codegen/module.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/macros/src/codegen/module.rs b/macros/src/codegen/module.rs
index 4fba2f38..a59d6628 100644
--- a/macros/src/codegen/module.rs
+++ b/macros/src/codegen/module.rs
@@ -198,9 +198,6 @@ pub fn codegen(
pub use super::#internal_context_name as Context;
));
- // not sure if this is the right way, maybe its backwards,
- // that spawn_module should put in in root
-
if let Context::SoftwareTask(..) = ctxt {
let spawnee = &app.software_tasks[name];
let priority = spawnee.args.priority;