diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2021-07-08 23:18:44 +0200 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2021-07-08 23:18:44 +0200 |
| commit | 8f3704378295fe8007290dbddbc1f4946ac599f9 (patch) | |
| tree | 3969e6f6bccfd16e187d7d5ccd56d269d3d9bb9e /examples/t-init-main.rs | |
| parent | 98d2af9d73da56910c8bb6cb662fbc4d609a704a (diff) | |
Cleanup from review (needs releases to compile)
Diffstat (limited to 'examples/t-init-main.rs')
| -rw-r--r-- | examples/t-init-main.rs | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/t-init-main.rs b/examples/t-init-main.rs deleted file mode 100644 index 9271788..0000000 --- a/examples/t-init-main.rs +++ /dev/null @@ -1,24 +0,0 @@ -#![deny(unsafe_code)] -#![deny(warnings)] -#![no_main] -#![no_std] - -use panic_semihosting as _; - -#[rtic::app(device = lm3s6965)] -mod app { - use cortex_m_semihosting::debug; - - #[shared] - struct Shared {} - - #[local] - struct Local {} - - #[init] - fn init(_: init::Context) -> (Shared, Local, init::Monotonics) { - debug::exit(debug::EXIT_SUCCESS); - - (Shared {}, Local {}, init::Monotonics()) - } -} |
