bad comparission
This commit is contained in:
1 parent
dce51f34ed
commit
52b90d3d6b
1 file changed
+1
-1
+1
-1
@@ -44,7 +44,7 @@ void ClearAuthData() {
|
|||||||
|
|
||||||
uint8_t iso14443A_CRC_check(bool isResponse, uint8_t *d, uint8_t n) {
|
uint8_t iso14443A_CRC_check(bool isResponse, uint8_t *d, uint8_t n) {
|
||||||
if (n < 3) return 2;
|
if (n < 3) return 2;
|
||||||
if (isResponse & (n < 6)) return 2;
|
if (isResponse && (n < 6)) return 2;
|
||||||
return check_crc(CRC_14443_A, d, n);
|
return check_crc(CRC_14443_A, d, n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user