diff options
author | 2023-01-07 17:59:39 +0100 | |
---|---|---|
committer | 2023-03-01 00:33:24 +0100 | |
commit | 9a4f97ca5ebf19e6612115db5c763d0d61dd28a1 (patch) | |
tree | 1f37d247f715ad3d5215aa7de3aa6d4eb94a7027 /examples/t-cfg-resources.rs | |
parent | 5606ba3cf38c80be5d3e9c88ad4da9982b114851 (diff) | |
download | rtic-9a4f97ca5ebf19e6612115db5c763d0d61dd28a1.tar.gz rtic-9a4f97ca5ebf19e6612115db5c763d0d61dd28a1.tar.zst rtic-9a4f97ca5ebf19e6612115db5c763d0d61dd28a1.zip |
more examples
Diffstat (limited to 'examples/t-cfg-resources.rs')
-rw-r--r-- | examples/t-cfg-resources.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/t-cfg-resources.rs b/examples/t-cfg-resources.rs index 99c97ba5..0174f33e 100644 --- a/examples/t-cfg-resources.rs +++ b/examples/t-cfg-resources.rs @@ -20,7 +20,7 @@ mod app { struct Local {} #[init] - fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { + fn init(_: init::Context) -> (Shared, Local) { debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator ( @@ -29,7 +29,6 @@ mod app { x: 0, }, Local {}, - init::Monotonics(), ) } |