dk: print message before exiting

This commit is contained in:
Jorge Aparicio 2020-06-24 16:57:53 +02:00
parent c334e9f0f7
commit 9c1e496ef5

View file

@ -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()
}