mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +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"
|
||||
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" }
|
||||
|
|
|
@ -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: () }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue