fix: 'lf pyramid demod' - inverted

chg: checksum colors
This commit is contained in:
iceman1001 2019-03-23 19:06:52 +01:00
commit 55b8b8df82
2 changed files with 8 additions and 6 deletions

View file

@ -254,7 +254,7 @@ int CmdTIDemod(const char *Cmd) {
//crc = crc16_ccitt(message, sizeof(message);
char *crcStr = (crc == (shift2 & 0xFFFF)) ? "Passed" : "Failed";
char *crcStr = (crc == (shift2 & 0xFFFF)) ? _GREEN_("Passed") : _RED_("Failed");
PrintAndLogEx(INFO, "Tag data = %08X%08X [Crc %04X %s]", shift1, shift0, crc, crcStr);