diff options
Diffstat (limited to 'tests/cfail/tasks-p0.rs')
| -rw-r--r-- | tests/cfail/tasks-p0.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/cfail/tasks-p0.rs b/tests/cfail/tasks-p0.rs index 4db3d38..521db54 100644 --- a/tests/cfail/tasks-p0.rs +++ b/tests/cfail/tasks-p0.rs @@ -11,7 +11,11 @@ use device::interrupt::Exti0; // WRONG: Tasks can't have a priority of 0. // Only idle and init can have a priority of 0. tasks!(device, { - j1: (Exti0, P0), + j1: Task { + interrupt: Exti0, + priority: P0, + enabled: true, + }, }); fn init(_: P0, _: &C16) {} |
