mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-09 07:45:34 +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`
|
||||
/// Cargo runner
|
||||
pub fn exit() -> ! {
|
||||
log::info!("`dk::exit() called; exiting ...`");
|
||||
loop {
|
||||
asm::bkpt()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue