mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
fix y grid +
and move em4x50 saveGB to allow graph restore after lf search clean up plotgraph unused code. should be done for a bit...
This commit is contained in:
parent
537f80f2c8
commit
999d57c201
3 changed files with 74 additions and 56 deletions
|
@ -474,9 +474,6 @@ int EM4x50Read(const char *Cmd, bool verbose)
|
|||
// get user entry if any
|
||||
sscanf(Cmd, "%i %i", &clk, &invert);
|
||||
|
||||
// save GraphBuffer - to restore it later
|
||||
save_restoreGB(1);
|
||||
|
||||
// first get high and low values
|
||||
for (i = 0; i < GraphTraceLen; i++) {
|
||||
if (GraphBuffer[i] > high)
|
||||
|
@ -573,6 +570,8 @@ int EM4x50Read(const char *Cmd, bool verbose)
|
|||
} else if (start < 0) return 0;
|
||||
start = skip;
|
||||
snprintf(tmp2, sizeof(tmp2),"%d %d 1000 %d", clk, invert, clk*47);
|
||||
// save GraphBuffer - to restore it later
|
||||
save_restoreGB(1);
|
||||
// get rid of leading crap
|
||||
snprintf(tmp, sizeof(tmp), "%i", skip);
|
||||
CmdLtrim(tmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue