X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e04475c42128e4b61c96cab0ff2c1a47d6413885..f25c62c5ec53de4f0657fb14379bf3098dab9148:/client/cmdlfcotag.c diff --git a/client/cmdlfcotag.c b/client/cmdlfcotag.c index f10516a6..71f17115 100644 --- a/client/cmdlfcotag.c +++ b/client/cmdlfcotag.c @@ -7,7 +7,17 @@ //----------------------------------------------------------------------------- // Low frequency COTAG commands //----------------------------------------------------------------------------- -#include "cmdlfcotag.h" // COTAG function declarations +#include +#include +#include +#include "proxmark3.h" +#include "ui.h" +#include "cmddata.h" +#include "data.h" +#include "cmdlfcotag.h" +#include "lfdemod.h" +#include "usb_cmd.h" +#include "cmdmain.h" static int CmdHelp(const char *Cmd); @@ -33,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;