diff --git a/source/pin.c b/source/pin.c index a3b0479c..030efc4c 100644 --- a/source/pin.c +++ b/source/pin.c @@ -146,6 +146,8 @@ void verifyPin(PINData *in) pressed &= PIN_BUTTONS; + if(!pressed) continue; + char key = PINKeyToLetter(pressed); enteredPassword[cnt++] = (u8)key; //Add character to password