aboutsummaryrefslogtreecommitdiff
path: root/examples/t-cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/t-cfg.rs')
-rw-r--r--examples/t-cfg.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/t-cfg.rs b/examples/t-cfg.rs
index b6c9e472..254cb8e0 100644
--- a/examples/t-cfg.rs
+++ b/examples/t-cfg.rs
@@ -14,9 +14,11 @@ const APP: () = {
}
#[init]
- fn init(_: init::Context) {
+ fn init(_: init::Context) -> init::LateResources {
#[cfg(never)]
static mut BAR: u32 = 0;
+
+ init::LateResources {}
}
#[idle]