mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
fix: 'hw tune' - reset demodplot line and grid clock
This commit is contained in:
parent
8f05aa6fcf
commit
ef2fc5b66c
1 changed files with 8 additions and 0 deletions
|
@ -1495,6 +1495,13 @@ int CmdTuneSamples(const char *Cmd) {
|
|||
#define HF_UNUSABLE_V 3000
|
||||
#define HF_MARGINAL_V 5000
|
||||
#define ANTENNA_ERROR 1.03 // current algo has 3% error margin.
|
||||
|
||||
// hide demod plot line
|
||||
DemodBufferLen = 0;
|
||||
setClockGrid(0, 0);
|
||||
RepaintGraphWindow();
|
||||
|
||||
|
||||
int timeout = 0;
|
||||
PrintAndLogEx(INFO, "\nmeasuring antenna characteristics, please wait...");
|
||||
|
||||
|
@ -1575,6 +1582,7 @@ int CmdTuneSamples(const char *Cmd) {
|
|||
|
||||
PrintAndLogEx(FAILED, "\nNot showing LF tuning graph since all values is zero.\n\n");
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue