aboutsummaryrefslogtreecommitdiff
path: root/examples/type-usage.rs
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2021-07-08 23:18:44 +0200
committerEmil Fresk <emil.fresk@gmail.com>2021-07-08 23:18:44 +0200
commit8f3704378295fe8007290dbddbc1f4946ac599f9 (patch)
tree3969e6f6bccfd16e187d7d5ccd56d269d3d9bb9e /examples/type-usage.rs
parent98d2af9d73da56910c8bb6cb662fbc4d609a704a (diff)
Cleanup from review (needs releases to compile)
Diffstat (limited to 'examples/type-usage.rs')
-rw-r--r--examples/type-usage.rs26
1 files changed, 0 insertions, 26 deletions
diff --git a/examples/type-usage.rs b/examples/type-usage.rs
deleted file mode 100644
index e5a088f..0000000
--- a/examples/type-usage.rs
+++ /dev/null
@@ -1,26 +0,0 @@
-//! examples/type-usage.rs
-
-#![no_main]
-#![no_std]
-
-use panic_semihosting as _; // panic handler
-use rtic::app;
-
-#[app(device = lm3s6965, dispatchers = [SSI0])]
-mod app {
- type Test = u32;
-
- #[shared]
- struct Shared {}
-
- #[local]
- struct Local {}
-
- #[init]
- fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
- (Shared {}, Local {}, init::Monotonics {})
- }
-
- #[task]
- fn t1(_: t1::Context, _val: Test) {}
-}