From: drowe67 Date: Mon, 2 Jun 2014 22:15:31 +0000 (+0000) Subject: clip bug, thanks Bruce X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=086e98a6d4a9807b29ca67abe17dda6d37ca54cd;p=freetel-svn-tracking.git clip bug, thanks Bruce git-svn-id: https://svn.code.sf.net/p/freetel/code@1624 01035d8c-6547-0410-b346-abe4f91aad63 --- 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; }