From d396da59502ef67f624bb4d8927ff8697232f66c Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 27 Jul 2017 17:08:42 -0500 Subject: make task.$T.enabled optional and move the logic that differentiates interrupts from exceptions from the crate to the procedural macro logic --- tests/cfail/exception.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/cfail/exception.rs') diff --git a/tests/cfail/exception.rs b/tests/cfail/exception.rs index 1428bcc..065ccad 100644 --- a/tests/cfail/exception.rs +++ b/tests/cfail/exception.rs @@ -7,9 +7,7 @@ extern crate stm32f103xx; use rtfm::app; -app! { - //~^ error no associated item named `SYS_TICK` found for type - //~| error no associated item named `SYS_TICK` found for type +app! { //~ error proc macro panicked device: stm32f103xx, tasks: { -- cgit v1.2.3