From aa0347e36c5ab67fa3153cb91d32a2aeea840223 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 25 Apr 2017 21:55:11 -0500 Subject: fix cfail tests --- tests/cfail/ceiling.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/cfail/ceiling.rs') diff --git a/tests/cfail/ceiling.rs b/tests/cfail/ceiling.rs index cf3b709..e29694b 100644 --- a/tests/cfail/ceiling.rs +++ b/tests/cfail/ceiling.rs @@ -19,7 +19,7 @@ fn j1(prio: P2) { } fn j2(prio: P0) { - let c16 = rtfm::critical( + let c16 = rtfm::atomic( |c16| { // forbidden: ceiling token can't outlive the critical section c16 //~ error -- cgit v1.2.3