]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfjablotron.c
Update hfsnoop.c (#338)
[proxmark3-svn] / client / cmdlfjablotron.c
index a2984ac89948f2dad1cdf38b708d71b0a47a4e1b..9c69099edbdfb651a6aed4a5db90303502032f17 100644 (file)
@@ -117,8 +117,8 @@ int CmdJablotronDemod(const char *Cmd) {
                return 0;
        }
 
-       setDemodBuf(DemodBuffer+ans, 64, 0);
-       //setGrid_Clock(64);
+       setDemodBuf(DemodBuffer, 64, ans);
+       setClockGrid(g_DemodClock, g_DemodStartIdx + (ans*g_DemodClock));
 
        //got a good demod
        uint32_t raw1 = bytebits_to_byte(DemodBuffer, 32);
Impressum, Datenschutz