From 8f3704378295fe8007290dbddbc1f4946ac599f9 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Thu, 8 Jul 2021 23:18:44 +0200 Subject: Cleanup from review (needs releases to compile) --- examples/t-init-main.rs | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 examples/t-init-main.rs (limited to 'examples/t-init-main.rs') 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()) - } -} -- cgit v1.2.3