diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2023-05-10 19:43:55 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-10 19:43:55 +0000 |
| commit | 21b0d97e17922c023a3b5d8148a414d4277f7b87 (patch) | |
| tree | d724871c3173736594811daa84abbd57b71bf105 /rtic-macros/src | |
| parent | cfac6d1d90f13f22bde849816919e42f4ecf9531 (diff) | |
| parent | 67d5ade4fdbb2fb4a1c13715e4829412f4007d75 (diff) | |
Merge #748
748: Fix zero prio tasks when all async tasks have default (no) arguments r=datdenkikneit a=korken89
Without this fix the default tasks get priority 1 instead of the intended 0.
Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
Diffstat (limited to 'rtic-macros/src')
| -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(), } |
