From 2acd42acd256eaf9431becdd7ff03ce113479f87 Mon Sep 17 00:00:00 2001 From: turbocool3r Date: Wed, 19 Jun 2024 21:58:44 +0300 Subject: [PATCH] Fix maximum block size. --- firmware/application/src/rfid/nfctag/hf/nfc_mf0_ntag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/application/src/rfid/nfctag/hf/nfc_mf0_ntag.h b/firmware/application/src/rfid/nfctag/hf/nfc_mf0_ntag.h index 2005cecf..c365716f 100644 --- a/firmware/application/src/rfid/nfctag/hf/nfc_mf0_ntag.h +++ b/firmware/application/src/rfid/nfctag/hf/nfc_mf0_ntag.h @@ -6,7 +6,7 @@ #define NFC_TAG_MF0_NTAG_DATA_SIZE 4 #define NFC_TAG_NTAG_FRAME_SIZE 64 -#define NFC_TAG_NTAG_BLOCK_MAX 231 +#define NFC_TAG_NTAG_BLOCK_MAX 231 + 1 #define NFC_TAG_MF0_FRAME_SIZE (16 + NFC_TAG_14A_CRC_LENGTH) #define NFC_TAG_MF0_BLOCK_MAX 41