style and text
This commit is contained in:
1 parent
5b64df9247
commit
6a95f16102
11 files changed
+243
-219
No files matched your search
@@ -1169,14 +1169,14 @@ int getIndalaBits(uint8_t fc, uint16_t cn, uint8_t *bits) {
|
||||
|
||||
// 92 = 62
|
||||
// 93 = 63
|
||||
|
||||
|
||||
bits[34] = 0; // parity for odd bits
|
||||
bits[38] = 0; // parity for even bits
|
||||
uint8_t p1 = 1;
|
||||
uint8_t p2 = 1;
|
||||
|
||||
for (int i=33; i < 64; i++) {
|
||||
if (i%2)
|
||||
for (int i = 33; i < 64; i++) {
|
||||
if (i % 2)
|
||||
p1 ^= bits[i];
|
||||
else
|
||||
p2 ^= bits[i];
|
||||
|
||||
Reference in new issue
Block a user