mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Keep string syntax in color macros
This commit is contained in:
parent
48124f89b4
commit
da6cdf014b
24 changed files with 144 additions and 144 deletions
|
@ -1605,14 +1605,14 @@ int CmdTuneSamples(const char *Cmd)
|
|||
memset(judgement, 0, sizeof(judgement));
|
||||
// LF evaluation
|
||||
if (peakv < LF_UNUSABLE_V)
|
||||
sprintf(judgement, _RED_(UNUSABLE));
|
||||
sprintf(judgement, _RED_("UNUSABLE"));
|
||||
else if (peakv < LF_MARGINAL_V)
|
||||
sprintf(judgement, _YELLOW_(MARGINAL));
|
||||
sprintf(judgement, _YELLOW_("MARGINAL"));
|
||||
else
|
||||
sprintf(judgement, _GREEN_(OK));
|
||||
sprintf(judgement, _GREEN_("OK"));
|
||||
|
||||
PrintAndLogEx(NORMAL, "%sLF antenna is %s \n"
|
||||
, (peakv < LF_UNUSABLE_V) ? _CYAN_([!]) : _GREEN_([+])
|
||||
, (peakv < LF_UNUSABLE_V) ? _CYAN_("[!]") : _GREEN_("[+]")
|
||||
, judgement
|
||||
);
|
||||
|
||||
|
@ -1623,14 +1623,14 @@ int CmdTuneSamples(const char *Cmd)
|
|||
memset(judgement, 0, sizeof(judgement));
|
||||
|
||||
if (v_hf < HF_UNUSABLE_V)
|
||||
sprintf(judgement, _RED_(UNUSABLE));
|
||||
sprintf(judgement, _RED_("UNUSABLE"));
|
||||
else if (v_hf < HF_MARGINAL_V)
|
||||
sprintf(judgement, _YELLOW_(MARGINAL));
|
||||
sprintf(judgement, _YELLOW_("MARGINAL"));
|
||||
else
|
||||
sprintf(judgement, _GREEN_(OK));
|
||||
sprintf(judgement, _GREEN_("OK"));
|
||||
|
||||
PrintAndLogEx(NORMAL, "%sHF antenna is %s"
|
||||
, (v_hf < HF_UNUSABLE_V) ? _CYAN_([!]) : _GREEN_([+])
|
||||
, (v_hf < HF_UNUSABLE_V) ? _CYAN_("[!]") : _GREEN_("[+]")
|
||||
, judgement
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue