diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2023-05-10 14:24:32 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2023-05-10 16:26:52 +0200 |
| commit | 67d5ade4fdbb2fb4a1c13715e4829412f4007d75 (patch) | |
| tree | d724871c3173736594811daa84abbd57b71bf105 /rtic-macros/src/syntax/ast.rs | |
| parent | cfac6d1d90f13f22bde849816919e42f4ecf9531 (diff) | |
Fix zero prio tasks when all async tasks have default (no) arguments
Diffstat (limited to 'rtic-macros/src/syntax/ast.rs')
| -rw-r--r-- | rtic-macros/src/syntax/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(), } |
