esp32s2beta: re-enable entering the debugger on panic

This commit is contained in:
Ivan Grokhotkov 2019-11-21 11:45:02 +01:00
parent f21261d39c
commit 04324e4c3c

View File

@ -408,7 +408,6 @@ void xt_unhandled_exception(XtExcFrame *frame)
panicPutStr("Unknown");
}
panicPutStr(")");
#ifdef PANIC_COMPLETE_IN_ESP32C
if (esp_cpu_in_ocd_debug_mode()) {
panicPutStr(" at pc=");
panicPutHex(frame->pc);
@ -426,7 +425,6 @@ void xt_unhandled_exception(XtExcFrame *frame)
setFirstBreakpoint(frame->pc);
return;
}
#endif
panicPutStr(". Exception was unhandled.\r\n");
}
commonErrorHandler(frame);