X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/63852b2f5121013884826145e8d2dd2d7dbcf36d..68410a4892c9679abc0e2cf3c9c1efb95651fa4f:/armsrc/mifaresniff.c?ds=inline diff --git a/armsrc/mifaresniff.c b/armsrc/mifaresniff.c index 3194f8d8..53970e44 100644 --- a/armsrc/mifaresniff.c +++ b/armsrc/mifaresniff.c @@ -13,11 +13,11 @@ static int sniffState = SNF_INIT; static uint8_t sniffUIDType; -static uint8_t sniffUID[8] = {0x00}; -static uint8_t sniffATQA[2] = {0x00}; +static uint8_t sniffUID[8]; +static uint8_t sniffATQA[2]; static uint8_t sniffSAK; -static uint8_t sniffBuf[16] = {0x00}; -static uint32_t timerData = 0; +static uint8_t sniffBuf[16]; +static uint32_t timerData; bool MfSniffInit(void){ @@ -25,7 +25,6 @@ bool MfSniffInit(void){ memset(sniffATQA, 0x00, 2); sniffSAK = 0; sniffUIDType = SNF_UID_4; - return FALSE; } @@ -33,7 +32,6 @@ bool MfSniffEnd(void){ LED_B_ON(); cmd_send(CMD_ACK,0,0,0,0,0); LED_B_OFF(); - return FALSE; }