X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b12f076b0d6cdd0411d6bfdec3e8fbd3d1134321..63744b568145c239b7f9dfe2ed43f0ed40c20bcd:/common/lfdemod.c diff --git a/common/lfdemod.c b/common/lfdemod.c index 982a724a..8eb1c19b 100644 --- a/common/lfdemod.c +++ b/common/lfdemod.c @@ -483,7 +483,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