From a8ad793f7f16ba928a5815639fc25e5127b44532 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 7 Apr 2019 12:10:04 +0200 Subject: [PATCH] more crc overshadow --- client/cmdanalyse.c | 2 +- client/cmdhf15.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdanalyse.c b/client/cmdanalyse.c index 5ca75b79f..3026e49d9 100644 --- a/client/cmdanalyse.c +++ b/client/cmdanalyse.c @@ -300,7 +300,7 @@ int CmdAnalyseCRC(const char *Cmd) { // ISO14443 crc B compute_crc(CRC_14443_B, data, len, &b1, &b2); uint16_t crcBB_1 = b1 << 8 | b2; - uint16_t bbb = crc(CRC_14443_B, data, len); + uint16_t bbb = Crc(CRC_14443_B, data, len); PrintAndLogEx(NORMAL, "ISO14443 crc B | %04x == %04x \n", crcBB_1, bbb); diff --git a/client/cmdhf15.c b/client/cmdhf15.c index 670c649ff..877469fd5 100644 --- a/client/cmdhf15.c +++ b/client/cmdhf15.c @@ -479,7 +479,7 @@ int CmdHF15Demod(const char *Cmd) { for (i = 0; i < k; i++) PrintAndLogEx(NORMAL, "# %2d: %02x ", i, outBuf[i]); - PrintAndLogEx(NORMAL, "CRC %04x", Crc(outBuf, k - 2)); + PrintAndLogEx(NORMAL, "CRC %04x", Crc15(outBuf, k - 2)); return 0; }