aboutsummaryrefslogtreecommitdiff
path: root/examples/two-tasks.rs
diff options
context:
space:
mode:
authorGravatar Jorge Aparicio <jorge@japaric.io> 2017-07-29 00:34:00 -0500
committerGravatar Jorge Aparicio <jorge@japaric.io> 2017-07-29 00:46:38 -0500
commit2d80f3631bc3bf382ae24c25dbf8ff33af2ad430 (patch)
tree549db01071e63ac232ab5781771fbb3993a9d822 /examples/two-tasks.rs
parente85d6e53c89cd1ea1da8826778c5a74154fb651d (diff)
downloadrtic-2d80f3631bc3bf382ae24c25dbf8ff33af2ad430.tar.gz
rtic-2d80f3631bc3bf382ae24c25dbf8ff33af2ad430.tar.zst
rtic-2d80f3631bc3bf382ae24c25dbf8ff33af2ad430.zip
update examplesrelease/v0.1
Diffstat (limited to 'examples/two-tasks.rs')
-rw-r--r--examples/two-tasks.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/two-tasks.rs b/examples/two-tasks.rs
index ea059a02..2200e5ba 100644
--- a/examples/two-tasks.rs
+++ b/examples/two-tasks.rs
@@ -1,7 +1,5 @@
//! Two tasks running at the *same* priority with access to the same resource
-
#![deny(unsafe_code)]
-#![feature(const_fn)]
#![feature(proc_macro)]
#![no_std]
@@ -31,8 +29,6 @@ app! {
},
}
-// When data resources are declared in the top `resources` field, `init` will
-// have full access to them
fn init(_p: init::Peripherals, _r: init::Resources) {
// ..
}