aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/by-example/app.md
diff options
context:
space:
mode:
authorNils Fitinghoff <nils.fitinghoff@mobilaris.se>2023-08-29 09:28:43 +0200
committerEmil Fresk <emil.fresk@gmail.com>2023-08-29 11:31:11 +0000
commitcc1e7154fce6780b8db7fe3457405b8e02563f7d (patch)
tree7b58e18fdd4db60422d1c7c6740ae13fce073d8f /book/en/src/by-example/app.md
parent57be9b0dc9c1c53bb55d0efcaaa0b2c2cea0c7a2 (diff)
book: Update default priority to 0
Diffstat (limited to 'book/en/src/by-example/app.md')
-rw-r--r--book/en/src/by-example/app.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/book/en/src/by-example/app.md b/book/en/src/by-example/app.md
index 0aeed5b..6cdd92a 100644
--- a/book/en/src/by-example/app.md
+++ b/book/en/src/by-example/app.md
@@ -32,7 +32,7 @@ Overall, the generated code infers no additional overhead in comparison to a han
## Priority
-Priorities in RTIC are specified using the `priority = N` (where N is a positive number) argument passed to the `#[task]` attribute. All `#[task]`s can have a priority. If the priority of a task is not specified, it is set to the default value of 1.
+Priorities in RTIC are specified using the `priority = N` (where N is a positive number) argument passed to the `#[task]` attribute. All `#[task]`s can have a priority. If the priority of a task is not specified, it is set to the default value of 0.
Priorities in RTIC follow a higher value = more important scheme. For examples, a task with priority 2 will preempt a task with priority 1.