mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
run tests added
This commit is contained in:
parent
34b1738085
commit
fdf342c2c6
4 changed files with 4 additions and 0 deletions
0
ci/expected/lock_cost.run
Normal file
0
ci/expected/lock_cost.run
Normal file
0
ci/expected/lockall_cost.run
Normal file
0
ci/expected/lockall_cost.run
Normal 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())
|
||||
}
|
||||
|
||||
|
|
|
@ -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())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue