mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
5 lines
240 B
Text
5 lines
240 B
Text
error: Async task "task1" has priority 0, but `#[idle]` is defined. 0-priority async tasks are only allowed if there is no `#[idle]`.
|
|
--> ui/task-no-prio.rs:18:14
|
|
|
|
|
18 | async fn task1(_: task1::Context) {}
|
|
| ^^^^^
|