1
0
Fork 0
mirror of https://github.com/rtic-rs/rtic.git synced 2025-03-21 21:46:21 +01:00

run tests added

This commit is contained in:
Per Lindgren 2021-10-26 20:04:07 +02:00 committed by Henrik Tjäder
parent fbd31e09cc
commit 1c709b3d8d
4 changed files with 4 additions and 0 deletions

View file

View file

View file

@ -19,6 +19,8 @@ mod app {
#[init]
fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
use cortex_m_semihosting::debug;
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
(Shared { shared: 0 }, Local {}, init::Monotonics())
}

View file

@ -19,6 +19,8 @@ mod app {
#[init]
fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
use cortex_m_semihosting::debug;
debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
(Shared { shared: 0 }, Local {}, init::Monotonics())
}