diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2020-10-01 20:14:07 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2020-10-01 20:14:07 +0200 |
| commit | 9d2598dc071882a94b813ab1d9ddf49092546257 (patch) | |
| tree | d2f80d17a0a23c6c1b9f1f2d320617bc0406407a /ui/single/locals-cfg.rs | |
| parent | e7f0d9c3e3fad77dace2ce63af02559fda46cb73 (diff) | |
Fixing test errors
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 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] |
