diff options
author | 2023-01-07 14:07:50 +0100 | |
---|---|---|
committer | 2023-03-01 00:31:07 +0100 | |
commit | 6dc2d29cd994a27fa59e23f9fb0bece677c83ffa (patch) | |
tree | 5c02e71c8b2c1b9ade8265547b036dc5dafe0752 /examples | |
parent | 29228c47239f12794feb91ae5a81d748530c40dc (diff) | |
download | rtic-6dc2d29cd994a27fa59e23f9fb0bece677c83ffa.tar.gz rtic-6dc2d29cd994a27fa59e23f9fb0bece677c83ffa.tar.zst rtic-6dc2d29cd994a27fa59e23f9fb0bece677c83ffa.zip |
export Cell removed, expmples updated
Diffstat (limited to 'examples')
-rw-r--r-- | examples/idle.rs | 4 | ||||
-rw-r--r-- | examples/init.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/idle.rs b/examples/idle.rs index 55d6b153..9a7a7275 100644 --- a/examples/idle.rs +++ b/examples/idle.rs @@ -18,10 +18,10 @@ mod app { struct Local {} #[init] - fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { + fn init(_: init::Context) -> (Shared, Local) { hprintln!("init").unwrap(); - (Shared {}, Local {}, init::Monotonics()) + (Shared {}, Local {}) } #[idle(local = [x: u32 = 0])] diff --git a/examples/init.rs b/examples/init.rs index b8a5bc5b..c807a3c1 100644 --- a/examples/init.rs +++ b/examples/init.rs @@ -18,7 +18,7 @@ mod app { struct Local {} #[init(local = [x: u32 = 0])] - fn init(cx: init::Context) -> (Shared, Local, init::Monotonics) { + fn init(cx: init::Context) -> (Shared, Local) { // Cortex-M peripherals let _core: cortex_m::Peripherals = cx.core; @@ -36,6 +36,6 @@ mod app { debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator - (Shared {}, Local {}, init::Monotonics()) + (Shared {}, Local {}) } } |