mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-04 20:13:38 +08:00
fix logic
This commit is contained in:
parent
8d0b41a911
commit
4661616ce6
1 changed files with 1 additions and 1 deletions
|
@ -2356,7 +2356,7 @@ static int CmdHF15Write(const char *Cmd) {
|
|||
return PM3_EINVARG;
|
||||
}
|
||||
|
||||
if (dlen != 4 || dlen != 8) {
|
||||
if ((dlen != 4) && (dlen != 8)) {
|
||||
PrintAndLogEx(WARNING, "expected data, 4 or 8 bytes, got " _RED_("%d"), dlen);
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue