Merge pull request #131 from merlokk/mfp_fix

fix mfp wrbl command
This commit is contained in:
Oleg Moiseenko 2019-03-11 18:03:15 +02:00 committed by GitHub
commit 221936196e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -576,7 +576,7 @@ int CmdHFMFPWrbl(const char *cmd) {
keylen = 16;
}
if (blockNum > 39) {
if (blockNum > 255) {
PrintAndLogEx(ERR, "<Block Num> must be in range [0..255] instead of: %d", blockNum);
return 1;
}