From f0c4db2f4bb54e715780ab7fb7a052d6b3030f98 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 20 Jun 2013 00:00:55 +0200 Subject: [PATCH] Fix MIFARE_ULTRALIGHT_C_PAGE_COUNT_READ Fixes issue #12 Reading page 0x2b of an ULC was refused --- libfreefare/freefare_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreefare/freefare_internal.h b/libfreefare/freefare_internal.h index 97cf4c9..c8e1d6f 100644 --- a/libfreefare/freefare_internal.h +++ b/libfreefare/freefare_internal.h @@ -161,7 +161,7 @@ void *assert_crypto_buffer_size (MifareTag tag, size_t nbytes); #define MIFARE_ULTRALIGHT_PAGE_COUNT 0x10 #define MIFARE_ULTRALIGHT_C_PAGE_COUNT 0x30 -#define MIFARE_ULTRALIGHT_C_PAGE_COUNT_READ 0x2B +#define MIFARE_ULTRALIGHT_C_PAGE_COUNT_READ 0x2C // Max PAGE_COUNT of the Ultralight Family: #define MIFARE_ULTRALIGHT_MAX_PAGE_COUNT 0x30