aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml4
-rw-r--r--examples/double_schedule.rs2
2 files changed, 5 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f7567a10..d4ad4ef0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -50,6 +50,10 @@ required-features = ["__v7"]
name = "types"
required-features = ["__v7"]
+[[example]]
+name = "double_schedule"
+required-features = ["__v7"]
+
[dependencies]
cortex-m = "0.6.2"
cortex-m-rtic-macros = { path = "macros", version = "0.5.2" }
diff --git a/examples/double_schedule.rs b/examples/double_schedule.rs
index a1d6914b..6b3aec8f 100644
--- a/examples/double_schedule.rs
+++ b/examples/double_schedule.rs
@@ -16,7 +16,7 @@ const APP: () = {
#[init(spawn = [task1])]
fn init(cx: init::Context) -> init::LateResources {
- // cx.spawn.task1().ok();
+ cx.spawn.task1().ok();
init::LateResources { nothing: () }
}