aboutsummaryrefslogtreecommitdiff
path: root/rtic-macros/ui/local-pub.rs
diff options
context:
space:
mode:
authorAndrew Gazelka <andrew.gazelka@gmail.com>2023-04-11 13:10:26 -0700
committerAndrew Gazelka <andrew.gazelka@gmail.com>2023-04-12 15:26:06 -0700
commite47914ee50b838cceca77cd881dce9caaf689901 (patch)
treeb2696705d5a97ec53041a772378beaf70b5c5642 /rtic-macros/ui/local-pub.rs
parent44c614d792c65aa2660f841e969db575f1ee6e86 (diff)
remove vis restriction for local and shared resources
Diffstat (limited to 'rtic-macros/ui/local-pub.rs')
-rw-r--r--rtic-macros/ui/local-pub.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/rtic-macros/ui/local-pub.rs b/rtic-macros/ui/local-pub.rs
deleted file mode 100644
index 42da4f4..0000000
--- a/rtic-macros/ui/local-pub.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-#![no_main]
-
-#[rtic_macros::mock_app(device = mock)]
-mod app {
- #[shared]
- struct Shared {}
-
- #[local]
- struct Local {
- pub x: u32,
- }
-
- #[init]
- fn init(_: init::Context) -> (Shared, Local) {}
-}