diff --git a/source/exceptions.c b/source/exceptions.c index d09a779..4dd43eb 100644 --- a/source/exceptions.c +++ b/source/exceptions.c @@ -191,10 +191,9 @@ void detectAndProcessExceptionDumps(void) drawString(true, 10, posY + SPACING_Y, COLOR_WHITE, "Press any button to shutdown"); - memset32((void *)dumpHeader, 0, dumpHeader->totalSize); - waitInput(false); exit: + memset32((void *)dumpHeader, 0, dumpHeader->totalSize); mcuPowerOff(); }