chg: 'hf iclass sim' ..double

This commit is contained in:
iceman1001 2018-02-01 18:01:44 +01:00
parent 8380743a42
commit 59a461fd2b

View file

@ -423,9 +423,9 @@ int CmdHFiClassSim(const char *Cmd) {
return 0;
}
}
uint8_t num_mac = resp.arg[1];
uint8_t num_mac = resp.arg[1];
bool success = ( (NUM_CSNS * 2) == num_mac );
PrintAndLog("[%c] %d out of %d MAC obtained [%s]", (success) ? '+':'!', num_mac, NUM_CSNS, (success) ? "OK" : "FAIL");
PrintAndLog("[%c] %d out of %d MAC obtained [%s]", (success) ? '+':'!', num_mac, NUM_CSNS*2, (success) ? "OK" : "FAIL");
if ( num_mac == 0 )
break;