From 35df317a2cae5610c9b94fdcd0718916eb9257ad Mon Sep 17 00:00:00 2001 From: vratiskol Date: Fri, 15 Feb 2019 01:08:30 +0100 Subject: [PATCH] Update MAXBLOCK - MF 4K - Modify MAXBLOCK size: 4k => 256 - Typo --- client/cmdhfmf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index a26381930..32fd65872 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -11,7 +11,7 @@ #include "cmdhfmf.h" #include "mifare4.h" -#define MIFARE_4K_MAXBLOCK 255 +#define MIFARE_4K_MAXBLOCK 256 #define MIFARE_2K_MAXBLOCK 128 #define MIFARE_1K_MAXBLOCK 64 #define MIFARE_MINI_MAXBLOCK 20 @@ -2503,7 +2503,7 @@ int CmdHF14AMfESave(const char *Cmd) { } memset(dump, 0, bytes); - PrintAndLogEx(INFO, "dowingloading from emulator memory"); + PrintAndLogEx(INFO, "downloading from emulator memory"); if (!GetFromDevice( BIG_BUF_EML, dump, bytes, 0, NULL, 2500, false)) { PrintAndLogEx(WARNING, "Fail, transfer from device time-out"); free(dump);