Merge branch 'buxfix/panic_handler_not_halting_cpu' into 'master'

Panic Handler not halting when running on both cores

See merge request !903
This commit is contained in:
Ivan Grokhotkov 2017-06-23 11:34:03 +08:00
commit 85baf0afaa

View file

@ -197,6 +197,7 @@ void panicHandler(XtExcFrame *frame)
return;
}
haltOtherCore();
esp_dport_access_int_deinit();
panicPutStr("Guru Meditation Error: Core ");
panicPutDec(core_id);
panicPutStr(" panic'ed (");
@ -244,6 +245,7 @@ void panicHandler(XtExcFrame *frame)
void xt_unhandled_exception(XtExcFrame *frame)
{
haltOtherCore();
esp_dport_access_int_deinit();
if (!abort_called) {
panicPutStr("Guru Meditation Error of type ");
int exccause = frame->exccause;