X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7cb8516cb5919cf883c7d3b16f4b5e9f75b586ee..7ac59a82ab5d244407254febf5dc9b7be892d2ad:/client/cmdlfcotag.c diff --git a/client/cmdlfcotag.c b/client/cmdlfcotag.c index 0f68064e..71f17115 100644 --- a/client/cmdlfcotag.c +++ b/client/cmdlfcotag.c @@ -43,7 +43,8 @@ int CmdCOTAGDemod(const char *Cmd) { size_t bitlen = COTAG_BITS; memcpy(bits, DemodBuffer, COTAG_BITS); - int err = manrawdecode(bits, &bitlen, 1); + uint8_t alignPos = 0; + int err = manrawdecode(bits, &bitlen, 1, &alignPos); if (err){ if (g_debugMode) PrintAndLog("DEBUG: Error - COTAG too many errors: %d", err); return -1;