mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-25 07:35:40 -07:00
CmdHF14ADesValueOperations
This commit is contained in:
parent
8bed10029e
commit
33c79942c9
1 changed files with 1 additions and 3 deletions
|
@ -4757,9 +4757,7 @@ static int CmdHF14ADesValueOperations(const char *Cmd) {
|
|||
}
|
||||
|
||||
uint32_t value = 0;
|
||||
res = arg_get_u32_hexstr_def_nlen(ctx, 14, 0, &value, 4, true);
|
||||
if (res == 2) {
|
||||
PrintAndLogEx(ERR, "Value must have 4 byte length");
|
||||
if (CLIGetUint32Hex(ctx, 14, 0, &value, NULL, 4, "Value must have 4 byte length")) {
|
||||
CLIParserFree(ctx);
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue