FIX: 'hf mf chk' - chkkeys param error fix #1
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user