mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-26 10:01:07 +08:00
FIX: 'hf mf chk' - chkkeys param error fix #1
This commit is contained in:
parent
4123f09602
commit
8c0aa0c86d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue