mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
crc16: all enumerates in switch
This commit is contained in:
parent
cc902fb4d8
commit
c084862e07
1 changed files with 2 additions and 0 deletions
|
@ -218,6 +218,7 @@ uint16_t Crc16ex(CrcType_t ct, const uint8_t *d, size_t n) {
|
|||
case CRC_LEGIC:
|
||||
// TODO
|
||||
return 0;
|
||||
case CRC_NONE:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -259,6 +260,7 @@ bool check_crc(CrcType_t ct, const uint8_t *d, size_t n) {
|
|||
case CRC_LEGIC:
|
||||
// TODO
|
||||
return false;
|
||||
case CRC_NONE:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue