From 584ac7e1b335411e3d923aeef92466efdc92ae50 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Sun, 8 Jan 2023 16:25:46 +0100 Subject: Update UI tests, 1 failing that needs fixing --- macros/ui/local-pub.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'macros/ui/local-pub.rs') diff --git a/macros/ui/local-pub.rs b/macros/ui/local-pub.rs index 8c51754..42da4f4 100644 --- a/macros/ui/local-pub.rs +++ b/macros/ui/local-pub.rs @@ -2,8 +2,14 @@ #[rtic_macros::mock_app(device = mock)] mod app { + #[shared] + struct Shared {} + #[local] struct Local { pub x: u32, } + + #[init] + fn init(_: init::Context) -> (Shared, Local) {} } -- cgit v1.2.3