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