]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - common/lfdemod.c
Client code cleanup:
[proxmark3-svn] / common / lfdemod.c
index b067098d9044555fd511692cb1a44e37fd84ea6f..3f597a1ff053cd69fdb1669f39a8966dda2ab0cb 100644 (file)
@@ -1770,8 +1770,8 @@ bool DetectST_ext(uint8_t buffer[], size_t *size, int *foundclock, size_t *ststa
                        buffer[dataloc+1] = buffer[dataloc+2];
                }
                if (firstrun) {
-                       *ststart = dataloc;
-                       *stend = dataloc+(clk*4);
+                       *stend = dataloc;
+                       *ststart = dataloc-(clk*4);
                        firstrun=false;
                }
                for (i=0; i<datalen; ++i) {
Impressum, Datenschutz