mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 23:36:31 +08:00
Merge pull request #835 from jumpycalm/master
fix a bug in demodParadox()
This commit is contained in:
commit
73e80793bd
|
@ -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]) {
|
||||||
|
|
Loading…
Reference in a new issue