mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-19 14:25:18 +01:00
Removed same prio spawn
This commit is contained in:
parent
2ad36a6efe
commit
fe2b5cc52e
5 changed files with 0 additions and 49 deletions
|
|
@ -1,7 +0,0 @@
|
|||
#![no_main]
|
||||
|
||||
#[rtic_macros::mock_app(device = mock)]
|
||||
mod app {
|
||||
#[task(binds = SysTick, only_same_priority_spawn_please_fix_me)]
|
||||
fn foo(_: foo::Context) {}
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
error: hardware tasks are not allowed to be spawned, `only_same_priority_spawn_please_fix_me` is only for software tasks
|
||||
--> ui/task-interrupt-same-prio-spawn.rs:5:29
|
||||
|
|
||||
5 | #[task(binds = SysTick, only_same_priority_spawn_please_fix_me)]
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
Loading…
Add table
Add a link
Reference in a new issue