-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 int timerData = 0;\r
-\r
-\r
-int MfSniffInit(void){\r
- rsamples = 0;\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[19];\r
+static uint32_t timerData = 0;\r
+\r
+\r
+void MfSniffInit(void){\r
+ memset(sniffUID, 0x00, sizeof(sniffUID));\r
+ memset(sniffATQA, 0x00, sizeof(sniffATQA));\r
+ memset(sniffBuf, 0x00, sizeof(sniffBuf));\r