mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
Remove unnecessary &mut
This commit is contained in:
parent
613b3c59fc
commit
8c7cf4c39a
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ pub fn codegen(app: &App, analysis: &Analysis, extra: &Extra) -> Vec<TokenStream
|
||||||
));
|
));
|
||||||
|
|
||||||
stmts.push(quote!(
|
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()) {
|
if let Some(#tupled) = rtic::export::interrupt::free(|_| (&mut *#rq.get_mut()).dequeue()) {
|
||||||
|
|
||||||
// The async executor needs a static priority
|
// The async executor needs a static priority
|
||||||
|
|
Loading…
Reference in a new issue