mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-23 00:03:09 +00:00
fix coveriy
This commit is contained in:
1 parent
fbc9e3f631
commit
fa5e69ceef
1 file changed
+1
-1
@@ -1239,13 +1239,13 @@ static int CmdHF15Sim(const char *Cmd) {
|
||||
CLIGetHexWithReturn(ctx, 1, payload.uid, &uidlen);
|
||||
if (uidlen != 8) {
|
||||
PrintAndLogEx(WARNING, "UID must include 16 HEX symbols");
|
||||
CLIParserFree(ctx);
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
||||
payload.block_size = arg_get_int_def(ctx, 2, 4);
|
||||
CLIParserFree(ctx);
|
||||
|
||||
|
||||
PrintAndLogEx(SUCCESS, "Starting simulating UID " _YELLOW_("%s"), iso15693_sprintUID(NULL, payload.uid));
|
||||
PrintAndLogEx(INFO, "press " _YELLOW_("`Pm3 button`") " to cancel");
|
||||
|
||||
|
||||
Reference in new issue
Block a user