mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-23 16:56:15 +08:00
Merge pull request #776 from slurdge/pmlog
Happy colors for messages coming from pm3
This commit is contained in:
commit
ed2ff985bf
|
@ -289,7 +289,7 @@ static void PacketResponseReceived(PacketResponseNG *packet) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flag & FLAG_LOG) {
|
if (flag & FLAG_LOG) {
|
||||||
PrintAndLogEx(NORMAL, "#db# %s", s);
|
PrintAndLogEx(NORMAL, "[" _MAGENTA_("pm3") "] ["_BLUE_("#")"] " "%s", s);
|
||||||
} else {
|
} else {
|
||||||
if (flag & FLAG_INPLACE)
|
if (flag & FLAG_INPLACE)
|
||||||
printf("\r");
|
printf("\r");
|
||||||
|
@ -303,7 +303,7 @@ static void PacketResponseReceived(PacketResponseNG *packet) {
|
||||||
}
|
}
|
||||||
case CMD_DEBUG_PRINT_INTEGERS: {
|
case CMD_DEBUG_PRINT_INTEGERS: {
|
||||||
if (! packet->ng)
|
if (! packet->ng)
|
||||||
PrintAndLogEx(NORMAL, "#db# %" PRIx64 ", %" PRIx64 ", %" PRIx64 "", packet->oldarg[0], packet->oldarg[1], packet->oldarg[2]);
|
PrintAndLogEx(NORMAL, "[" _MAGENTA_("pm3") "] ["_BLUE_("#")"] " "%" PRIx64 ", %" PRIx64 ", %" PRIx64 "", packet->oldarg[0], packet->oldarg[1], packet->oldarg[2]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
// iceman: hw status - down the path on device, runs printusbspeed which starts sending a lot of
|
// iceman: hw status - down the path on device, runs printusbspeed which starts sending a lot of
|
||||||
|
|
Loading…
Reference in a new issue