hw tearoff - colors

This commit is contained in:
iceman1001 2020-10-10 10:45:15 +02:00
commit 0d0c42a56e

View file

@ -566,11 +566,11 @@ static int CmdTearoff(const char *Cmd) {
} }
if (resp.status == PM3_SUCCESS) { if (resp.status == PM3_SUCCESS) {
if (params.delay_us > 0) if (params.delay_us > 0)
PrintAndLogEx(INFO, "Tear-off hook configured with delay of %ius.", params.delay_us); PrintAndLogEx(INFO, "Tear-off hook configured with delay of " _GREEN_("%ius"), params.delay_us);
if (params.on) if (params.on)
PrintAndLogEx(INFO, "Tear-off hook enabled."); PrintAndLogEx(INFO, "Tear-off hook " _GREEN_("enabled"));
if (params.off) if (params.off)
PrintAndLogEx(INFO, "Tear-off hook disabled."); PrintAndLogEx(INFO, "Tear-off hook " _RED_("disabled"));
return PM3_SUCCESS; return PM3_SUCCESS;
} }
PrintAndLogEx(WARNING, "Tear-off command failed."); PrintAndLogEx(WARNING, "Tear-off command failed.");