Always erase exception dump in memory
This commit is contained in:
parent
3f356da879
commit
c92de03a5f
@ -191,10 +191,9 @@ void detectAndProcessExceptionDumps(void)
|
|||||||
|
|
||||||
drawString(true, 10, posY + SPACING_Y, COLOR_WHITE, "Press any button to shutdown");
|
drawString(true, 10, posY + SPACING_Y, COLOR_WHITE, "Press any button to shutdown");
|
||||||
|
|
||||||
memset32((void *)dumpHeader, 0, dumpHeader->totalSize);
|
|
||||||
|
|
||||||
waitInput(false);
|
waitInput(false);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
|
memset32((void *)dumpHeader, 0, dumpHeader->totalSize);
|
||||||
mcuPowerOff();
|
mcuPowerOff();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user