1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 16:08:39 -05:00

DATV Demod: leandvb: restored Handling of overflows beyond the lookup table

This commit is contained in:
f4exb 2021-03-29 22:29:08 +02:00
parent 0a713e4d30
commit cb78eb8a72

View File

@ -753,7 +753,7 @@ struct cstln_lut : cstln_base
// demodulation would probably fail anyway. // demodulation would probably fail anyway.
// //
// Comment-out for better throughput at high SNR. // Comment-out for better throughput at high SNR.
#if 0 #if 1
while (I < -128 || I > 127 || Q < -128 || Q > 127) while (I < -128 || I > 127 || Q < -128 || Q > 127)
{ {
I *= 0.5; I *= 0.5;