From 97a7e38db7eb0643a6334aba30077622d09e5c85 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 18 Jul 2017 20:03:22 -0500 Subject: tasks / idle have exclusive access to Threshold, but do not own the token --- tests/cfail/priority-too-low.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cfail/priority-too-low.rs') diff --git a/tests/cfail/priority-too-low.rs b/tests/cfail/priority-too-low.rs index 8bb0801..1e0c8e9 100644 --- a/tests/cfail/priority-too-low.rs +++ b/tests/cfail/priority-too-low.rs @@ -26,4 +26,4 @@ fn idle() -> ! { task!(SYS_TICK, sys_tick); -fn sys_tick(_: Threshold, _: SYS_TICK::Resources) {} +fn sys_tick(_: &mut Threshold, _: SYS_TICK::Resources) {} -- cgit v1.2.3