From 1afddd2b1215f754863ac54bdf88dec0419adac0 Mon Sep 17 00:00:00 2001 From: dxl <64101226@qq.com> Date: Tue, 13 Oct 2020 17:27:28 +0800 Subject: [PATCH] 32 sector print incomplete for Mifare 4K --- client/src/cmdhfmf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index f197194d4..b842bd7a7 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -827,7 +827,7 @@ static int CmdHF14AMfRdSc(const char *Cmd) { uint8_t blocks = 4; uint8_t start = sectorNo * 4; - if (sectorNo > 32) { + if (sectorNo >= 32) { blocks = 16; start = 128 + (sectorNo - 32) * 16; }