]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfcotag.c
small fixes in ReaderIso14443a() (#446)
[proxmark3-svn] / client / cmdlfcotag.c
index 0f68064e55e83063af045d603db51113c284cc9b..6d035e8c71d4e529561b46f4f482d98327964009 100644 (file)
@@ -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;
@@ -95,7 +96,7 @@ int CmdCOTAGRead(const char *Cmd) {
                case 2: {
                        CmdPlot("");
                        CmdGrid("384");
-                       getSamples("", true); break;
+                       getSamples(0, true); break;
                }
                case 1: {
                        GetFromBigBuf(DemodBuffer, COTAG_BITS, 0);
Impressum, Datenschutz