Skip to content

Commit

Permalink
always reset wrong attempts on boot.
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsss655 committed Jan 13, 2024
1 parent 15428a2 commit e9bb31e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ void Main(void)
bIsInLockScreen = true;
UI_DisplayLock();
bIsInLockScreen = false;
gEeprom.PASSWORD_WRONG_ATTEMPTS = 0;
gFlagSaveSettings = true;
}
gEeprom.PASSWORD_WRONG_ATTEMPTS = 0;
gFlagSaveSettings = true;
#endif

BOOT_ProcessMode(BootMode);
Expand Down

0 comments on commit e9bb31e

Please sign in to comment.