mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 02:34:48 +08:00
chg: textual and remove adjustment for antenna measures
This commit is contained in:
parent
5b903c343f
commit
11f50ef7bc
1 changed files with 3 additions and 4 deletions
|
@ -1662,16 +1662,15 @@ int CmdTuneSamples(const char *Cmd) {
|
||||||
#define LF_MARGINAL_V 10000
|
#define LF_MARGINAL_V 10000
|
||||||
#define HF_UNUSABLE_V 3000
|
#define HF_UNUSABLE_V 3000
|
||||||
#define HF_MARGINAL_V 5000
|
#define HF_MARGINAL_V 5000
|
||||||
#define ANTENNA_ERROR 1.03 // current algo has 3% error margin.
|
#define ANTENNA_ERROR 1.00 // current algo has 3% error margin.
|
||||||
|
|
||||||
// hide demod plot line
|
// hide demod plot line
|
||||||
DemodBufferLen = 0;
|
DemodBufferLen = 0;
|
||||||
setClockGrid(0, 0);
|
setClockGrid(0, 0);
|
||||||
RepaintGraphWindow();
|
RepaintGraphWindow();
|
||||||
|
|
||||||
|
|
||||||
int timeout = 0;
|
int timeout = 0;
|
||||||
PrintAndLogEx(INFO, "\nMeasuring antenna characteristics, please wait...");
|
PrintAndLogEx(INFO, "Measuring antenna characteristics, please wait...");
|
||||||
|
|
||||||
clearCommandBuffer();
|
clearCommandBuffer();
|
||||||
SendCommandNG(CMD_MEASURE_ANTENNA_TUNING, NULL, 0);
|
SendCommandNG(CMD_MEASURE_ANTENNA_TUNING, NULL, 0);
|
||||||
|
@ -1691,7 +1690,7 @@ int CmdTuneSamples(const char *Cmd) {
|
||||||
return PM3_ESOFT;
|
return PM3_ESOFT;
|
||||||
}
|
}
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "\n");
|
PrintAndLogEx(NORMAL, "");
|
||||||
// in mVolt
|
// in mVolt
|
||||||
struct p {
|
struct p {
|
||||||
uint32_t v_lf134;
|
uint32_t v_lf134;
|
||||||
|
|
Loading…
Reference in a new issue