fix a bug in demodParadox()
This commit is contained in:
@@ -128,7 +128,7 @@ int demodParadox(void) {
|
|||||||
uint8_t error = 0;
|
uint8_t error = 0;
|
||||||
|
|
||||||
// Remove manchester encoding from FSK bits, skip pre
|
// Remove manchester encoding from FSK bits, skip pre
|
||||||
for (uint8_t i = idx + PARADOX_PREAMBLE_LEN; i < (idx + 96 - PARADOX_PREAMBLE_LEN ); i += 2) {
|
for (uint8_t i = idx + PARADOX_PREAMBLE_LEN; i < (idx + 96); i += 2) {
|
||||||
|
|
||||||
// not manchester data
|
// not manchester data
|
||||||
if (bits[i] == bits[i + 1]) {
|
if (bits[i] == bits[i + 1]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user