dport access: introduce pause/resume instead of deinit

This commit is contained in:
Ivan Grokhotkov
2017-08-24 17:48:40 +08:00
parent f8b719d911
commit 65b046f17f
4 changed files with 17 additions and 5 deletions

View File

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