From 67d5ade4fdbb2fb4a1c13715e4829412f4007d75 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Wed, 10 May 2023 14:24:32 +0200 Subject: Fix zero prio tasks when all async tasks have default (no) arguments --- rtic-macros/src/syntax/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtic-macros/src') diff --git a/rtic-macros/src/syntax/ast.rs b/rtic-macros/src/syntax/ast.rs index d5510cb..3f4956c 100644 --- a/rtic-macros/src/syntax/ast.rs +++ b/rtic-macros/src/syntax/ast.rs @@ -242,7 +242,7 @@ pub struct SoftwareTaskArgs { impl Default for SoftwareTaskArgs { fn default() -> Self { Self { - priority: 1, + priority: 0, local_resources: LocalResources::new(), shared_resources: SharedResources::new(), } -- cgit v1.2.3