-static uint8_t sniffUIDType;\r
-static uint8_t sniffUID[8];\r
-static uint8_t sniffATQA[2];\r
-static uint8_t sniffSAK;\r
-static uint8_t sniffBuf[16];\r
-static uint32_t timerData;\r
-\r
-\r
-bool MfSniffInit(void){\r
- memset(sniffUID, 0x00, 8);\r
- memset(sniffATQA, 0x00, 2);\r
+static uint8_t sniffUIDType = 0;\r
+static uint8_t sniffUID[10] = {0,0,0,0,0,0,0,0,0,0};\r
+static uint8_t sniffATQA[2] = {0,0};\r
+static uint8_t sniffSAK = 0;\r
+static uint8_t sniffBuf[17];\r
+static uint32_t timerData = 0;\r
+\r
+void MfSniffInit(void){\r
+ memset(sniffUID, 0x00, sizeof(sniffUID));\r
+ memset(sniffATQA, 0x00, sizeof(sniffATQA));\r
+ memset(sniffBuf, 0x00, sizeof(sniffBuf));\r