X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/ab812dfae5f0b2ac3fbc127f293ff65d85922ed7..571324a5c4b3edf7460633ca66ca5081aa4fdc6b:/common/lfdemod.c diff --git a/common/lfdemod.c b/common/lfdemod.c index b067098d..3f597a1f 100644 --- a/common/lfdemod.c +++ b/common/lfdemod.c @@ -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