Fixed example and v7 flag

This commit is contained in:
Emil Fresk 2020-09-25 14:52:09 +02:00
parent 21d4c15463
commit 7ff35bd041
2 changed files with 5 additions and 1 deletions

View file

@ -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" }

View file

@ -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: () }
}