mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
detectST has better clock detection. Since 'data raw am' fails but 'data detect a' succeed in finding a clock. Lets see if anything else breaks because of this?
This commit is contained in:
parent
f79c0075c4
commit
ab226c2864
1 changed files with 6 additions and 8 deletions
|
@ -485,14 +485,13 @@ int ASKDemod_ext(const char *Cmd, bool verbose, bool emSearch, uint8_t askType,
|
|||
if (amp == 'a')
|
||||
askAmp(bits, BitLen);
|
||||
|
||||
bool st = false;
|
||||
size_t ststart = 0, stend = 0;
|
||||
if (*stCheck)
|
||||
st = DetectST(bits, &BitLen, &foundclk, &ststart, &stend);
|
||||
// if (*stCheck)
|
||||
bool st = DetectST(bits, &BitLen, &foundclk, &ststart, &stend);
|
||||
clk = (clk == 0) ? foundclk : clk;
|
||||
|
||||
if (st) {
|
||||
*stCheck = st;
|
||||
clk = (clk == 0) ? foundclk : clk;
|
||||
CursorCPos = ststart;
|
||||
CursorDPos = stend;
|
||||
if (verbose)
|
||||
|
@ -1607,7 +1606,6 @@ int CmdLoad(const char *Cmd) {
|
|||
break;
|
||||
}
|
||||
|
||||
if (f)
|
||||
fclose(f);
|
||||
|
||||
PrintAndLogEx(SUCCESS, "loaded %d samples", GraphTraceLen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue