aboutsummaryrefslogtreecommitdiff
path: root/tests/cfail/peripherals-alias-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cfail/peripherals-alias-1.rs')
-rw-r--r--tests/cfail/peripherals-alias-1.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cfail/peripherals-alias-1.rs b/tests/cfail/peripherals-alias-1.rs
index 0dfe8d1..124f351 100644
--- a/tests/cfail/peripherals-alias-1.rs
+++ b/tests/cfail/peripherals-alias-1.rs
@@ -5,7 +5,7 @@
#[macro_use]
extern crate cortex_m_rtfm as rtfm;
-use rtfm::{C16, P0, P1};
+use rtfm::{P0, P1, T0, TMax};
use device::interrupt::Exti0;
peripherals!(device, {
@@ -22,9 +22,9 @@ peripherals!(device, {
tasks!(device, {});
-fn init(_: P0, _: &C16) {}
+fn init(_: P0, _: &TMax) {}
-fn idle(_: P0) -> ! {
+fn idle(_: P0, _: T0) -> ! {
loop {}
}