mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-24 14:58:09 +00:00
dk: print message before exiting
This commit is contained in:
parent
c334e9f0f7
commit
9c1e496ef5
1 changed files with 1 additions and 0 deletions
|
@ -301,6 +301,7 @@ fn RTC0() {
|
||||||
/// Exits the application and prints a backtrace when the program is executed through the `dk-run`
|
/// Exits the application and prints a backtrace when the program is executed through the `dk-run`
|
||||||
/// Cargo runner
|
/// Cargo runner
|
||||||
pub fn exit() -> ! {
|
pub fn exit() -> ! {
|
||||||
|
log::info!("`dk::exit() called; exiting ...`");
|
||||||
loop {
|
loop {
|
||||||
asm::bkpt()
|
asm::bkpt()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue