Merge pull request #835 from jumpycalm/master

fix a bug in demodParadox()
This commit is contained in:
Iceman authored and GitHub committed 2020-07-11 09:46:36 +02:00
commit 73e80793bd
1 file changed
+1 -1
+1 -1
View File
@@ -128,7 +128,7 @@ int demodParadox(void) {
uint8_t error = 0;
// 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
if (bits[i] == bits[i + 1]) {