]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfgproxii.c
Fix issue #342
[proxmark3-svn] / client / cmdlfgproxii.c
index 1657f7618a78113d5a857b6e36bf2f3f5803942e..71c5f391706b2f3ae4631bcec7a597fd471da806 100644 (file)
@@ -83,7 +83,9 @@ int CmdG_Prox_II_Demod(const char *Cmd)
                PrintAndLog("Decoded Raw: %s", sprint_hex(ByteStream, 8)); 
        }
        PrintAndLog("Raw: %08x%08x%08x", raw1,raw2,raw3);
-       setDemodBuf(DemodBuffer+ans, 96, 0);
+       setDemodBuf(DemodBuffer, 96, ans);
+       setClockGrid(g_DemodClock, g_DemodStartIdx + (ans*g_DemodClock));
+
        return 1;
 }
 //by marshmellow
Impressum, Datenschutz