aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/tasks-wrong-priority.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cfail/tasks-wrong-priority.rs')
-rw-r--r--tests/cfail/tasks-wrong-priority.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/cfail/tasks-wrong-priority.rs b/tests/cfail/tasks-wrong-priority.rs
index 75cbc0c..827acdd 100644
--- a/tests/cfail/tasks-wrong-priority.rs
+++ b/tests/cfail/tasks-wrong-priority.rs
@@ -9,7 +9,11 @@ use cortex_m_srp::{C16, P0, P1, P2};
use device::interrupt::Exti1;
tasks!(device, {
- j1: (Exti0, P1),
+ j1: Task {
+ interrupt: Exti0,
+ priority: P1,
+ enabled: true,
+ },
});
fn init(_: P0, _: &C16) {}