mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
chg: checksum test2
This commit is contained in:
parent
66d3abafb2
commit
f6940f1d8e
1 changed files with 4 additions and 4 deletions
|
@ -743,11 +743,11 @@ int getIndalaBits(uint8_t fc, uint16_t cn, uint8_t *bits) {
|
|||
chk += (cn & 1); //y16 == 71 - 30 = 41
|
||||
|
||||
if ((chk & 1) == 0) {
|
||||
bits[62] = 1;
|
||||
bits[63] = 0;
|
||||
} else {
|
||||
bits[62] = 0;
|
||||
bits[63] = 1;
|
||||
} else {
|
||||
bits[62] = 1;
|
||||
bits[63] = 0;
|
||||
}
|
||||
// 92 = 62
|
||||
// 93 = 63
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue