diff options
Diffstat (limited to 'ui/single/locals-cfg.rs')
| -rw-r--r-- | ui/single/locals-cfg.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/single/locals-cfg.rs b/ui/single/locals-cfg.rs index e04e5b9..45a7a91 100644 --- a/ui/single/locals-cfg.rs +++ b/ui/single/locals-cfg.rs @@ -4,11 +4,13 @@ use panic_halt as _; #[rtic::app(device = lm3s6965)] mod app { #[init] - fn init(_: init::Context) { + fn init(_: init::Context) -> init::LateResources { #[cfg(never)] static mut FOO: u32 = 0; FOO; + + init::LateResources {} } #[idle] |
