Compare commits

..

1 Commits

Author SHA1 Message Date
29e16304e0 update package
Some checks failed
Rust/va108xx-rs/pipeline/head There was a failure building this commit
- Add embassy example
- improve timer API
- restructure examples
2024-09-18 16:01:59 +02:00
3 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,7 @@ features = ["thumbv6-backend"]
[dependencies.rtic-monotonics]
version = "2"
path = "../../../rtic/rtic-monotonics"
features = ["cortex-m-systick"]
[dependencies.rtic-sync]

View File

@ -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) {

View File

@ -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) {