This commit is contained in:
mwalker33
2020-04-10 14:36:29 +10:00
parent 978f57b505
commit 070636f196
25 changed files with 1079 additions and 666 deletions

View File

@@ -2040,7 +2040,7 @@ void T55xx_ChkPwds(uint8_t flags) {
if (isok != sizeof(counter))
goto OUT;
pwdCount = counter[1] << 8 | counter[0];
pwdCount = (uint16_t)(counter[1] << 8 | counter[0]);
if (pwdCount == 0 || pwdCount == 0xFFFF)
goto OUT;