From fc4cb7d472dad1ea0fa137bb116bd907efc19601 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Mon, 8 May 2017 12:05:42 -0500 Subject: replace the ceiling token with a preemption threshold token --- tests/cfail/peripherals-alias-2.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/cfail/peripherals-alias-2.rs') diff --git a/tests/cfail/peripherals-alias-2.rs b/tests/cfail/peripherals-alias-2.rs index 555cd74..b50931e 100644 --- a/tests/cfail/peripherals-alias-2.rs +++ b/tests/cfail/peripherals-alias-2.rs @@ -6,7 +6,7 @@ #[macro_use] extern crate cortex_m_rtfm as rtfm; -use rtfm::{C0, C16, P0, P1}; +use rtfm::{P0, P1, T0, TMax}; use device::interrupt::Exti0; peripherals!(device, { @@ -28,9 +28,9 @@ mod foo { tasks!(device, {}); -fn init(_: P0, _: &C16) {} +fn init(_: P0, _: &TMax) {} -fn idle(_: P0, _: C0) -> ! { +fn idle(_: P0, _: T0) -> ! { loop {} } -- cgit v1.2.3