FIX: 'hf mf chk' - chkkeys param error fix #1

This commit is contained in:
Chris 2018-08-13 22:37:44 +02:00
parent 4123f09602
commit 8c0aa0c86d

View file

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