X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b96bcc795ba658c5e0328c1ffa053e7de1d75e72..d889dacc9d6a45b41deca907042d97221a06e9a5:/common/lfdemod.c diff --git a/common/lfdemod.c b/common/lfdemod.c index 9c1a6efc..7398f1b2 100644 --- a/common/lfdemod.c +++ b/common/lfdemod.c @@ -485,7 +485,7 @@ size_t fsk_wave_demod(uint8_t * dest, size_t size, uint8_t fchigh, uint8_t fclow size_t numBits = 0; // count cycles between consecutive lo-hi transitions, there should be either 8 (fc/8) - // or 10 (fc/10) cycles but in practice due to noise etc we may end up with with anywhere + // or 10 (fc/10) cycles but in practice due to noise etc we may end up with anywhere // between 7 to 11 cycles so fuzz it by treat anything <9 as 8 and anything else as 10 for(idx = 161; idx < size-20; idx++) { // threshold current value