diff --git a/source/pin.c b/source/pin.c index d228a4f..84985ba 100644 --- a/source/pin.c +++ b/source/pin.c @@ -138,11 +138,7 @@ void verifyPin(PINData *in, bool allowQuit) if(!allowQuit) pressed &= ~BUTTON_START; if(!pressed) continue; - if(pressed & BUTTON_START) - { - clearScreens(); - mcuPowerOff(); - } + if(pressed & BUTTON_START) mcuPowerOff(); char key = PINKeyToLetter(pressed); enteredPassword[cnt++] = (u8)key; // add character to password. diff --git a/source/utils.c b/source/utils.c index 5dd4a6c..3146bea 100644 --- a/source/utils.c +++ b/source/utils.c @@ -110,7 +110,6 @@ void chrono(u32 seconds) void error(const char *message) { initScreens(); - clearScreens(); drawString("An error has occurred:", 10, 10, COLOR_RED); int posY = drawString(message, 10, 30, COLOR_WHITE);