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;
}
testMax = dest[idx];
}
- //if not just noise
- if (testMax < 170) return -2;
+ //if not, just noise
+ if (testMax < 20) return -2;
// FSK demodulator
size = fskdemod(dest, size, 64, 1, 10, 8); // RF/64 and invert