]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlf.c
align clock grid with demods on graph
[proxmark3-svn] / client / cmdlf.c
index 7670136fc32019e101eab341e2cc361affbe5a31..5825b339d3239979c10094e9f156e158f98340e0 100644 (file)
@@ -548,10 +548,10 @@ int CmdLFfskSim(const char *Cmd)
        {
                return usage_lf_simfsk();
        }
-
+       int firstClockEdge = 0;
        if (dataLen == 0){ //using DemodBuffer 
                if (clk==0 || fcHigh==0 || fcLow==0){ //manual settings must set them all
-                       uint8_t ans = fskClocks(&fcHigh, &fcLow, &clk, 0);
+                       uint8_t ans = fskClocks(&fcHigh, &fcLow, &clk, 0, &firstClockEdge);
                        if (ans==0){
                                if (!fcHigh) fcHigh=10;
                                if (!fcLow) fcLow=8;
Impressum, Datenschutz