From 9d2598dc071882a94b813ab1d9ddf49092546257 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Thu, 1 Oct 2020 20:14:07 +0200 Subject: Fixing test errors --- ui/single/locals-cfg.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ui/single/locals-cfg.rs') diff --git a/ui/single/locals-cfg.rs b/ui/single/locals-cfg.rs index 54bba8a..cd8677a 100644 --- a/ui/single/locals-cfg.rs +++ b/ui/single/locals-cfg.rs @@ -3,11 +3,13 @@ #[rtic::app(device = lm3s6965)] const APP: () = { #[init] - fn init(_: init::Context) { + fn init(_: init::Context) -> init::LateResources { #[cfg(never)] static mut FOO: u32 = 0; FOO; + + init::LateResources {} } #[idle] -- cgit v1.2.3