Compare commits
1 Commits
ff7ac62a8d
...
29e16304e0
Author | SHA1 | Date | |
---|---|---|---|
29e16304e0 |
@ -23,6 +23,7 @@ features = ["thumbv6-backend"]
|
||||
|
||||
[dependencies.rtic-monotonics]
|
||||
version = "2"
|
||||
path = "../../../rtic/rtic-monotonics"
|
||||
features = ["cortex-m-systick"]
|
||||
|
||||
[dependencies.rtic-sync]
|
||||
|
@ -43,7 +43,7 @@ mod app {
|
||||
pub timeout: bool,
|
||||
}
|
||||
|
||||
rtic_monotonics::systick_monotonic!(Mono, 1_000);
|
||||
rtic_monotonics::systick_monotonic!(Mono);
|
||||
|
||||
#[init]
|
||||
fn init(cx: init::Context) -> (Shared, Local) {
|
||||
|
@ -26,7 +26,7 @@ mod app {
|
||||
#[shared]
|
||||
struct Shared {}
|
||||
|
||||
rtic_monotonics::systick_monotonic!(Mono, 1_000);
|
||||
rtic_monotonics::systick_monotonic!(Mono);
|
||||
|
||||
#[init]
|
||||
fn init(mut cx: init::Context) -> (Shared, Local) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user