aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/priority-too-high.rs
diff options
context:
space:
mode:
authorJorge Aparicio <jorge@japaric.io>2017-07-18 20:03:22 -0500
committerJorge Aparicio <jorge@japaric.io>2017-07-18 20:03:22 -0500
commit97a7e38db7eb0643a6334aba30077622d09e5c85 (patch)
treea561e574a8cb36b748c84f69ee679fe0e61f1899 /tests/cfail/priority-too-high.rs
parenta2b0c9e0d077870441ecdea00108c3a3a394fd9b (diff)
tasks / idle have exclusive access to Threshold, but do not own the token
Diffstat (limited to 'tests/cfail/priority-too-high.rs')
-rw-r--r--tests/cfail/priority-too-high.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cfail/priority-too-high.rs b/tests/cfail/priority-too-high.rs
index ac3a704..c76b7a6 100644
--- a/tests/cfail/priority-too-high.rs
+++ b/tests/cfail/priority-too-high.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) {}