aboutsummaryrefslogtreecommitdiff
path: root/examples/t-cfg-resources.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-cfg-resources.rs')
-rw-r--r--examples/t-cfg-resources.rs3
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(),
)
}