No need for this
This commit is contained in:
parent
7ab59e420a
commit
5248b96f8a
@ -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.
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user