chg: 'hw tune' color output consistent.

This commit is contained in:
iceman1001 2018-07-28 12:25:11 +02:00
parent 2919a35665
commit edfbe327b4

View file

@ -1508,8 +1508,11 @@ int CmdTuneSamples(const char *Cmd) {
else else
sprintf(judgement, "OK"); sprintf(judgement, "OK");
PrintAndLogEx(NORMAL, "[%c] LF antenna is %s \n" //_GREEN_([+] )
, (peakv < LF_UNUSABLE_V) ? '!' : '+' //_CYAN_([!] )
PrintAndLogEx(NORMAL, "%s LF antenna is %s \n"
, (peakv < LF_UNUSABLE_V) ? _CYAN_([!]) : _GREEN_([+])
, judgement , judgement
); );
@ -1526,8 +1529,8 @@ int CmdTuneSamples(const char *Cmd) {
else else
sprintf(judgement, "OK"); sprintf(judgement, "OK");
PrintAndLogEx(NORMAL, "[%c] HF antenna is %s" PrintAndLogEx(NORMAL, "%s HF antenna is %s"
, (v_hf < HF_UNUSABLE_V) ? '!' : '+' , (v_hf < HF_UNUSABLE_V) ? _CYAN_([!]) : _GREEN_([+])
, judgement , judgement
); );