mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
fix stt mark location bug
add `data mtrim` to do a middle trim of the graph.
This commit is contained in:
parent
ab812dfae5
commit
f75b313b00
2 changed files with 20 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue