mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-04-28 06:15:13 +00:00
correct LEGIC 16bit CRC calculation "hf legic crc", use init_table(CRC_LEGIC_16) to be consistent with l_crc16legic in client/src/scripting.c
This commit is contained in:
@@ -682,7 +682,7 @@ static int CmdLegicCalcCrc(const char *Cmd) {
|
||||
|
||||
switch (type) {
|
||||
case 16:
|
||||
init_table(CRC_LEGIC);
|
||||
init_table(CRC_LEGIC_16);
|
||||
PrintAndLogEx(SUCCESS, "Legic crc16: %X", crc16_legic(data, data_len, mcc[0]));
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user