hf mfu otptear -m fix

This commit is contained in:
iceman1001 2020-10-12 01:51:35 +02:00
commit 00f36f0335

View file

@ -2877,7 +2877,7 @@ static int CmdHF14AMfuOtpTearoff(const char *Cmd) {
cmdp += 2; cmdp += 2;
break; break;
case 'm': case 'm':
if (param_gethex(Cmd, cmdp + 1, match, 4)) { if (param_gethex(Cmd, cmdp + 1, match, 8)) {
PrintAndLogEx(WARNING, "Block data must include 8 HEX symbols"); PrintAndLogEx(WARNING, "Block data must include 8 HEX symbols");
errors = true; errors = true;
} }