diff options
author | 2021-07-21 10:14:00 +0200 | |
---|---|---|
committer | 2021-07-21 10:14:00 +0200 | |
commit | 18880406cb425bcd030f0b0aa9e67e8ac05bd852 (patch) | |
tree | b191c17c8bdc5dbfae426c61694e590436c4eb4e /examples/spawn2.rs | |
parent | 5f7dc0b903a3d26a5bd49864dce42f3d91d3d2a8 (diff) | |
download | rtic-18880406cb425bcd030f0b0aa9e67e8ac05bd852.tar.gz rtic-18880406cb425bcd030f0b0aa9e67e8ac05bd852.tar.zst rtic-18880406cb425bcd030f0b0aa9e67e8ac05bd852.zip |
use tuple struct syntax for Monotonics everywhere
Diffstat (limited to 'examples/spawn2.rs')
-rw-r--r-- | examples/spawn2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/spawn2.rs b/examples/spawn2.rs index ff9516a6..ed285b70 100644 --- a/examples/spawn2.rs +++ b/examples/spawn2.rs @@ -21,7 +21,7 @@ mod app { fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { foo::spawn(1, 2).unwrap(); - (Shared {}, Local {}, init::Monotonics {}) + (Shared {}, Local {}, init::Monotonics()) } #[task] |