mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-10 08:15:36 +00:00
rm superfluous exit()
This commit is contained in:
parent
1752956de2
commit
36776c7ba8
2 changed files with 0 additions and 14 deletions
|
@ -8,10 +8,3 @@ use panic_probe as _;
|
||||||
fn panic() -> ! {
|
fn panic() -> ! {
|
||||||
cortex_m::asm::udf()
|
cortex_m::asm::udf()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Terminates the application and makes `probe-run` exit with exit-code = 0
|
|
||||||
pub fn exit() -> ! {
|
|
||||||
loop {
|
|
||||||
cortex_m::asm::bkpt();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -8,10 +8,3 @@ use panic_probe as _;
|
||||||
fn panic() -> ! {
|
fn panic() -> ! {
|
||||||
cortex_m::asm::udf()
|
cortex_m::asm::udf()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Terminates the application and makes `probe-run` exit with exit-code = 0
|
|
||||||
pub fn exit() -> ! {
|
|
||||||
loop {
|
|
||||||
cortex_m::asm::bkpt();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue