Removed same prio spawn

This commit is contained in:
Emil Fresk 2023-01-07 13:23:20 +01:00 committed by Henrik Tjäder
parent 2ad36a6efe
commit fe2b5cc52e
5 changed files with 0 additions and 49 deletions

View file

@ -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) {}
}

View file

@ -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)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^