From f24d7c4ba183826037d8b40f922b37423778882f Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Mon, 11 Mar 2019 18:02:42 +0200 Subject: [PATCH] fix mfp wrbl command --- client/cmdhfmfp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhfmfp.c b/client/cmdhfmfp.c index aac6f3687..7178591a2 100644 --- a/client/cmdhfmfp.c +++ b/client/cmdhfmfp.c @@ -576,7 +576,7 @@ int CmdHFMFPWrbl(const char *cmd) { keylen = 16; } - if (blockNum > 39) { + if (blockNum > 255) { PrintAndLogEx(ERR, " must be in range [0..255] instead of: %d", blockNum); return 1; }