From b1d499a74416ce03bde2d88b6944f64a5cd55f26 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Sat, 27 Aug 2022 19:42:59 +0200 Subject: [PATCH] RA fixes --- macros/src/codegen/dispatchers.rs | 3 +++ 1 file changed, 3 insertions(+) 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)) }; ));