diff --git a/components/esp32/panic.c b/components/esp32/panic.c index 4d8386446..4c3db7fa6 100644 --- a/components/esp32/panic.c +++ b/components/esp32/panic.c @@ -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;