mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-07-30 11:39:14 -07:00
remove old iso14443crc.c, fully replaced by crc16.c functions.
This commit is contained in:
parent
bf8745e668
commit
ac88c435f6
20 changed files with 39 additions and 96 deletions
|
@ -467,7 +467,7 @@ static int l_crc16(lua_State *L) {
|
|||
size_t size;
|
||||
const char *p_str = luaL_checklstring(L, 1, &size);
|
||||
|
||||
uint16_t checksum = Crc(CRC_CCITT, (uint8_t *) p_str, size);
|
||||
uint16_t checksum = Crc16ex(CRC_CCITT, (uint8_t *) p_str, size);
|
||||
lua_pushunsigned(L, checksum);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue