diff options
| author | Jorge Aparicio <jorge@japaric.io> | 2017-07-27 17:08:42 -0500 |
|---|---|---|
| committer | Jorge Aparicio <jorge@japaric.io> | 2017-07-27 17:08:42 -0500 |
| commit | d396da59502ef67f624bb4d8927ff8697232f66c (patch) | |
| tree | 264e29e59cf4fe119fb82481b9c6949c579e8399 /tests/cfail/interrupt.rs | |
| parent | ad2a523cf9d39191d54f4dda3c99f22b5bade7de (diff) | |
make task.$T.enabled optional
and move the logic that differentiates interrupts from exceptions from the crate
to the procedural macro logic
Diffstat (limited to 'tests/cfail/interrupt.rs')
| -rw-r--r-- | tests/cfail/interrupt.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/cfail/interrupt.rs b/tests/cfail/interrupt.rs index 2969d1f..c70528f 100644 --- a/tests/cfail/interrupt.rs +++ b/tests/cfail/interrupt.rs @@ -7,14 +7,14 @@ extern crate stm32f103xx; use rtfm::app; -app! { //~ error no associated item named `EXTI0` found for type +app! { + //~^ error no associated item named `EXTI33` found for type + //~| error no associated item named `EXTI33` found for type device: stm32f103xx, tasks: { - // ERROR `enabled` needs to be specified for interrupts - EXTI0: { - priority: 1, - }, + // ERROR this interrupt doesn't exist + EXTI33: {}, }, } |
