diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2017-04-27 19:06:22 -0500 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2017-04-27 19:28:27 -0500 |
| commit | e2bde8d21acdfb845554d960536bfb94a7bb1f86 (patch) | |
| tree | e44c57d9f018039fda1a0845b8d5a6310903725b /tests/cfail/peripherals-alias-2.rs | |
| parent | ec2df608ca4c35f044c383b7a4c8ba268657aa15 (diff) | |
make the ceiling part of the task signature
remove the P.as_ceiling method
Diffstat (limited to 'tests/cfail/peripherals-alias-2.rs')
| -rw-r--r-- | tests/cfail/peripherals-alias-2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cfail/peripherals-alias-2.rs b/tests/cfail/peripherals-alias-2.rs index e649459..555cd74 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::{C16, P0, P1}; +use rtfm::{C0, C16, P0, P1}; use device::interrupt::Exti0; peripherals!(device, { @@ -30,7 +30,7 @@ tasks!(device, {}); fn init(_: P0, _: &C16) {} -fn idle(_: P0) -> ! { +fn idle(_: P0, _: C0) -> ! { loop {} } |
