diff options
author | 2017-07-27 17:08:42 -0500 | |
---|---|---|
committer | 2017-07-27 17:08:42 -0500 | |
commit | d396da59502ef67f624bb4d8927ff8697232f66c (patch) | |
tree | 264e29e59cf4fe119fb82481b9c6949c579e8399 /examples/generics.rs | |
parent | ad2a523cf9d39191d54f4dda3c99f22b5bade7de (diff) | |
download | rtic-d396da59502ef67f624bb4d8927ff8697232f66c.tar.gz rtic-d396da59502ef67f624bb4d8927ff8697232f66c.tar.zst rtic-d396da59502ef67f624bb4d8927ff8697232f66c.zip |
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 'examples/generics.rs')
-rw-r--r-- | examples/generics.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/generics.rs b/examples/generics.rs index 7c261d54..6c6e1d6e 100644 --- a/examples/generics.rs +++ b/examples/generics.rs @@ -15,14 +15,12 @@ app! { tasks: { EXTI0: { - enabled: true, path: exti0, priority: 1, resources: [GPIOA, SPI1], }, EXTI1: { - enabled: true, path: exti1, priority: 2, resources: [GPIOA, SPI1], |