mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
Merge #297
297: Reference the correct example in the by-example book r=japaric a=AfoHT closes #298 Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
This commit is contained in:
commit
d77270adc2
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ mut` variables are safe to use within a hardware task.
|
||||||
```
|
```
|
||||||
|
|
||||||
``` console
|
``` console
|
||||||
$ cargo run --example interrupt
|
$ cargo run --example hardware
|
||||||
{{#include ../../../../ci/expected/hardware.run}}```
|
{{#include ../../../../ci/expected/hardware.run}}```
|
||||||
|
|
||||||
So far all the RTFM applications we have seen look no different that the
|
So far all the RTFM applications we have seen look no different that the
|
||||||
|
@ -135,7 +135,7 @@ The following example showcases the priority based scheduling of tasks.
|
||||||
```
|
```
|
||||||
|
|
||||||
``` console
|
``` console
|
||||||
$ cargo run --example interrupt
|
$ cargo run --example preempt
|
||||||
{{#include ../../../../ci/expected/preempt.run}}```
|
{{#include ../../../../ci/expected/preempt.run}}```
|
||||||
|
|
||||||
Note that the task `gpiob` does *not* preempt task `gpioc` because its priority
|
Note that the task `gpiob` does *not* preempt task `gpioc` because its priority
|
||||||
|
|
Loading…
Reference in a new issue