mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-29 15:04:32 +01:00
Fixed example and v7 flag
This commit is contained in:
parent
21d4c15463
commit
7ff35bd041
2 changed files with 5 additions and 1 deletions
|
@ -50,6 +50,10 @@ required-features = ["__v7"]
|
||||||
name = "types"
|
name = "types"
|
||||||
required-features = ["__v7"]
|
required-features = ["__v7"]
|
||||||
|
|
||||||
|
[[example]]
|
||||||
|
name = "double_schedule"
|
||||||
|
required-features = ["__v7"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cortex-m = "0.6.2"
|
cortex-m = "0.6.2"
|
||||||
cortex-m-rtic-macros = { path = "macros", version = "0.5.2" }
|
cortex-m-rtic-macros = { path = "macros", version = "0.5.2" }
|
||||||
|
|
|
@ -16,7 +16,7 @@ const APP: () = {
|
||||||
|
|
||||||
#[init(spawn = [task1])]
|
#[init(spawn = [task1])]
|
||||||
fn init(cx: init::Context) -> init::LateResources {
|
fn init(cx: init::Context) -> init::LateResources {
|
||||||
// cx.spawn.task1().ok();
|
cx.spawn.task1().ok();
|
||||||
|
|
||||||
init::LateResources { nothing: () }
|
init::LateResources { nothing: () }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue