mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-14 00:53:12 +08:00
Fix: hf 14a sim parsing args was taking tag type as number of reads if no -n option given
This commit is contained in:
parent
971452f817
commit
f828a727c9
1 changed files with 1 additions and 1 deletions
|
@ -715,7 +715,7 @@ int CmdHF14ASim(const char *Cmd) {
|
|||
useUIDfromEML = false;
|
||||
}
|
||||
|
||||
uint8_t exitAfterNReads = arg_get_int(ctx, 3);
|
||||
uint8_t exitAfterNReads = arg_get_int_def(ctx, 3, 0);
|
||||
|
||||
if (arg_get_lit(ctx, 4)) {
|
||||
flags |= FLAG_NR_AR_ATTACK;
|
||||
|
|
Loading…
Reference in a new issue