We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6488d62 + d2041aa commit 8c6cd1dCopy full SHA for 8c6cd1d
src/lib_nfctype2pcd.h
@@ -53,7 +53,12 @@
53
/* Size */
54
#define PCDNFCT2_READ_SIZE 16
55
#define PCDNFCT2_READ_SIZE_BUFFER 18
56
-#define PCDNFCT2_SECTOR_SIZE 256 //1024
+#ifndef PCDNFCT2_SECTOR_SIZE
57
+// if not defined at application level, let's use 1024 for wider compatibility
58
+// it can be reduced to lower values, e.g. 256, but with restrictions :
59
+// issue on second sector read
60
+#define PCDNFCT2_SECTOR_SIZE 1024
61
+#endif
62
63
/* Mask */
64
#define PCDNFCT2_READ_MSK 0xF0
0 commit comments