diff options
-rw-r--r-- | macros/src/codegen/async_dispatchers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/src/codegen/async_dispatchers.rs b/macros/src/codegen/async_dispatchers.rs index b2ee5bd3..ca8fba8c 100644 --- a/macros/src/codegen/async_dispatchers.rs +++ b/macros/src/codegen/async_dispatchers.rs @@ -79,7 +79,7 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> Vec<TokenStream )); stmts.push(quote!( - if !(&mut *#exec_name.get_mut()).is_running() { + if !(&*#exec_name.get()).is_running() { if let Some(#tupled) = rtic::export::interrupt::free(|_| (&mut *#rq.get_mut()).dequeue()) { // The async executor needs a static priority |