diff options
author | 2021-08-20 09:21:02 +0200 | |
---|---|---|
committer | 2021-08-20 09:21:02 +0200 | |
commit | 52dc324aa7eafd855a22a95248feab70f1c1a19d (patch) | |
tree | 374cfbcece4df333a97f2ebffcfa7d264b41d702 /macros | |
parent | 3bf5a4f7a06fdb5d341d900c3e937d4c9afd2dda (diff) | |
download | rtic-52dc324aa7eafd855a22a95248feab70f1c1a19d.tar.gz rtic-52dc324aa7eafd855a22a95248feab70f1c1a19d.tar.zst rtic-52dc324aa7eafd855a22a95248feab70f1c1a19d.zip |
More rustanalyzer lint fixes
Diffstat (limited to 'macros')
-rw-r--r-- | macros/src/codegen/module.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/macros/src/codegen/module.rs b/macros/src/codegen/module.rs index cac89c7d..656ae6c8 100644 --- a/macros/src/codegen/module.rs +++ b/macros/src/codegen/module.rs @@ -376,6 +376,7 @@ pub fn codegen( /// /// This will use the time `Instant::new(0)` as baseline if called in `#[init]`, /// so if you use a non-resetable timer use `spawn_at` when in `#[init]` + #[allow(non_snake_case)] pub fn #internal_spawn_after_ident<D>( duration: D #(,#args)* @@ -395,6 +396,7 @@ pub fn codegen( #(#cfgs)* /// Spawns the task at a fixed time instant + #[allow(non_snake_case)] pub fn #internal_spawn_at_ident( instant: rtic::time::Instant<#mono_type> #(,#args)* |