Update cmdhfmf.c

fix #225
This commit is contained in:
Iceman
2018-08-10 18:28:51 +02:00
committed by GitHub
parent 824d10005c
commit 9b03cd9cd6

View File

@@ -1787,7 +1787,7 @@ int CmdHF14AMfChk(const char *Cmd) {
// check keys.
for (trgKeyType = !keyType; trgKeyType < 2; (keyType==2) ? (++trgKeyType) : (trgKeyType=2) ) {
for (trgKeyType = keyType; trgKeyType < 2; (keyType==2) ? (++trgKeyType) : (trgKeyType=2) ) {
int b = blockNo;
for (int i = 0; i < SectorsCnt; ++i) {