diff options
author | 2020-09-25 14:52:09 +0200 | |
---|---|---|
committer | 2020-09-25 14:52:09 +0200 | |
commit | 7ff35bd0419eb470440527fd0bb81ee16ed46a9d (patch) | |
tree | c3c7e04bf196ef347f15adf8834a9644902083f5 | |
parent | 21d4c154633ddae11face93e24437eecdc2c0f42 (diff) | |
download | rtic-7ff35bd0419eb470440527fd0bb81ee16ed46a9d.tar.gz rtic-7ff35bd0419eb470440527fd0bb81ee16ed46a9d.tar.zst rtic-7ff35bd0419eb470440527fd0bb81ee16ed46a9d.zip |
Fixed example and v7 flag
-rw-r--r-- | Cargo.toml | 4 | ||||
-rw-r--r-- | examples/double_schedule.rs | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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: () } } |