Skip to content

Commit

Permalink
Fix MIFARE_ULTRALIGHT_C_PAGE_COUNT_READ
Browse files Browse the repository at this point in the history
Fixes issue nfc-tools#12
Reading page 0x2b of an ULC was refused
  • Loading branch information
doegox committed Jun 19, 2013
1 parent 089b600 commit f0c4db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libfreefare/freefare_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f0c4db2

Please sign in to comment.