mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-04-10 14:30:02 +08:00
CHG: 'hw tune' - colors
This commit is contained in:
parent
854bfc8595
commit
b837eb0089
1 changed files with 6 additions and 6 deletions
|
@ -1502,11 +1502,11 @@ int CmdTuneSamples(const char *Cmd) {
|
||||||
memset(judgement, 0, sizeof(judgement));
|
memset(judgement, 0, sizeof(judgement));
|
||||||
// LF evaluation
|
// LF evaluation
|
||||||
if (peakv < LF_UNUSABLE_V)
|
if (peakv < LF_UNUSABLE_V)
|
||||||
sprintf(judgement, "UNUSABLE");
|
sprintf(judgement, _RED_(UNUSABLE) );
|
||||||
else if (peakv < LF_MARGINAL_V)
|
else if (peakv < LF_MARGINAL_V)
|
||||||
sprintf(judgement, "MARGINAL");
|
sprintf(judgement, _YELLOW_(MARGINAL) );
|
||||||
else
|
else
|
||||||
sprintf(judgement, "OK");
|
sprintf(judgement, _GREEN_(OK) );
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "%sLF antenna is %s \n"
|
PrintAndLogEx(NORMAL, "%sLF antenna is %s \n"
|
||||||
, (peakv < LF_UNUSABLE_V) ? _CYAN_([!]) : _GREEN_([+])
|
, (peakv < LF_UNUSABLE_V) ? _CYAN_([!]) : _GREEN_([+])
|
||||||
|
@ -1520,11 +1520,11 @@ int CmdTuneSamples(const char *Cmd) {
|
||||||
memset(judgement, 0, sizeof(judgement));
|
memset(judgement, 0, sizeof(judgement));
|
||||||
|
|
||||||
if (v_hf < HF_UNUSABLE_V)
|
if (v_hf < HF_UNUSABLE_V)
|
||||||
sprintf(judgement, "UNUSABLE");
|
sprintf(judgement, _RED_(UNUSABLE) );
|
||||||
else if (v_hf < HF_MARGINAL_V)
|
else if (v_hf < HF_MARGINAL_V)
|
||||||
sprintf(judgement, "MARGINAL");
|
sprintf(judgement, _YELLOW_(MARGINAL) );
|
||||||
else
|
else
|
||||||
sprintf(judgement, "OK");
|
sprintf(judgement, _GREEN_(OK) );
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "%sHF antenna is %s"
|
PrintAndLogEx(NORMAL, "%sHF antenna is %s"
|
||||||
, (v_hf < HF_UNUSABLE_V) ? _CYAN_([!]) : _GREEN_([+])
|
, (v_hf < HF_UNUSABLE_V) ? _CYAN_([!]) : _GREEN_([+])
|
||||||
|
|
Loading…
Add table
Reference in a new issue