From 48e5acf294c2f035bda985c1f3441df23b5fad52 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Sun, 19 Mar 2023 22:15:36 +0100 Subject: [PATCH] Start async tasks at lowest priority --- rtic-macros/src/syntax/parse.rs | 7 ++++++- rtic/CHANGELOG.md | 2 ++ rtic/examples/async-task.rs | 4 ++-- rtic/examples/common.rs | 4 ++-- rtic/examples/destructure.rs | 4 ++-- rtic/examples/locals.rs | 4 ++-- rtic/examples/not-sync.rs | 4 ++-- rtic/examples/static.rs | 2 +- 8 files changed, 19 insertions(+), 12 deletions(-) diff --git a/rtic-macros/src/syntax/parse.rs b/rtic-macros/src/syntax/parse.rs index 72eeeaf69c..823bd82ea9 100644 --- a/rtic-macros/src/syntax/parse.rs +++ b/rtic-macros/src/syntax/parse.rs @@ -289,11 +289,13 @@ fn task_args(tokens: TokenStream2) -> parse::Result parse::Result