chg: checksum test2

This commit is contained in:
iceman1001 2020-03-10 10:53:02 +01:00
commit f6940f1d8e

View file

@ -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