From cb78eb8a7292f96346fb168dd8463021b9fec2cf Mon Sep 17 00:00:00 2001 From: f4exb Date: Mon, 29 Mar 2021 22:29:08 +0200 Subject: [PATCH] DATV Demod: leandvb: restored Handling of overflows beyond the lookup table --- plugins/channelrx/demoddatv/leansdr/sdr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/channelrx/demoddatv/leansdr/sdr.h b/plugins/channelrx/demoddatv/leansdr/sdr.h index 81c81a4f8..cdba60f1e 100644 --- a/plugins/channelrx/demoddatv/leansdr/sdr.h +++ b/plugins/channelrx/demoddatv/leansdr/sdr.h @@ -753,7 +753,7 @@ struct cstln_lut : cstln_base // demodulation would probably fail anyway. // // Comment-out for better throughput at high SNR. -#if 0 +#if 1 while (I < -128 || I > 127 || Q < -128 || Q > 127) { I *= 0.5;