]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - common/lfdemod.c
FIX: fixed a little bug I introduced from last commit in fskdemod
[proxmark3-svn] / common / lfdemod.c
index 5ab5e03ae30973417b792c653397cfaa41a33843..873b6305d5fcb55c74790de686e06b48a4432719 100644 (file)
@@ -538,8 +538,6 @@ int fskdemod(uint8_t *dest, size_t size, uint8_t rfLen, uint8_t invert, uint8_t
        size = fsk_wave_demod(dest, size, fchigh, fclow);
        if ( size > 0 )
                size = aggregate_bits(dest, size, rfLen, 192, invert, fchigh, fclow);
-       else
-               return -1;
        return size;
 }
 
Impressum, Datenschutz