From 086e98a6d4a9807b29ca67abe17dda6d37ca54cd Mon Sep 17 00:00:00 2001 From: drowe67 Date: Mon, 2 Jun 2014 22:15:31 +0000 Subject: [PATCH] clip bug, thanks Bruce git-svn-id: https://svn.code.sf.net/p/freetel/code@1624 01035d8c-6547-0410-b346-abe4f91aad63 --- fdmdv2/src/fdmdv2_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdmdv2/src/fdmdv2_main.cpp b/fdmdv2/src/fdmdv2_main.cpp index bca6bcad..1f7bfeb2 100644 --- a/fdmdv2/src/fdmdv2_main.cpp +++ b/fdmdv2/src/fdmdv2_main.cpp @@ -3368,7 +3368,7 @@ void per_frame_tx_processing( if (s > g_clip) s = (float)g_clip; if (s < -g_clip) - s = (float)g_clip; + s = (float)-g_clip; tx_fdm_scaled[i] = FDMDV_SCALE * g_pwr_scale * s; } -- 2.25.1