From c92de03a5fbca6c365751b2747e8d1de5396fa48 Mon Sep 17 00:00:00 2001 From: Aurora Wright Date: Thu, 17 Aug 2017 17:38:27 +0200 Subject: [PATCH] Always erase exception dump in memory --- source/exceptions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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(); }