aboutsummaryrefslogtreecommitdiff
path: root/examples/nested.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-07-27 17:08:42 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-07-27 17:08:42 -0500
commitd396da59502ef67f624bb4d8927ff8697232f66c (patch)
tree264e29e59cf4fe119fb82481b9c6949c579e8399 /examples/nested.rs
parentad2a523cf9d39191d54f4dda3c99f22b5bade7de (diff)
downloadrtic-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/nested.rs')
-rw-r--r--examples/nested.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/nested.rs b/examples/nested.rs
index 2cb23f95..92f90cbf 100644
--- a/examples/nested.rs
+++ b/examples/nested.rs
@@ -24,21 +24,18 @@ app! {
tasks: {
EXTI0: {
- enabled: true,
path: exti0,
priority: 1,
resources: [LOW, HIGH],
},
EXTI1: {
- enabled: true,
path: exti1,
priority: 2,
resources: [LOW],
},
EXTI2: {
- enabled: true,
path: exti2,
priority: 3,
resources: [HIGH],