]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfjablotron.c
Merge branch 'master' into master
[proxmark3-svn] / client / cmdlfjablotron.c
index a2984ac89948f2dad1cdf38b708d71b0a47a4e1b..4756266c8ef766d1eadc8d6effba920e7a2cfdb9 100644 (file)
@@ -9,10 +9,11 @@
 //-----------------------------------------------------------------------------
 
 #include "cmdlfjablotron.h"
+
 #include <string.h>
 #include <inttypes.h>
 #include <stdbool.h>
-#include "proxmark3.h"
+#include "comms.h"
 #include "ui.h"
 #include "util.h"
 #include "graph.h"
@@ -117,8 +118,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