diff --git a/macros/src/codegen/dispatchers.rs b/macros/src/codegen/dispatchers.rs index 6b241140a7..f5f36c49f0 100644 --- a/macros/src/codegen/dispatchers.rs +++ b/macros/src/codegen/dispatchers.rs @@ -18,13 +18,16 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> Vec> = rtic::RacyCell::new(rtic::export::executor::AsyncTaskExecutor::new()); // The executors priority, this can be any value - we will overwrite it when we // start a task + #[allow(non_upper_case_globals)] static #prio_name: rtic::RacyCell = unsafe { rtic::RacyCell::new(rtic::export::Priority::new(0)) }; ));