From: drowe67 Date: Fri, 3 Oct 2014 08:13:28 +0000 (+0000) Subject: fixed bug due to cpu load mod reduction mods X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=47c55d6ac9bd2b0661e6da0ba998f3287342a844;p=freetel-svn-tracking.git fixed bug due to cpu load mod reduction mods git-svn-id: https://svn.code.sf.net/p/freetel/code@1873 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/octave/fdmdv_demod.m b/codec2-dev/octave/fdmdv_demod.m index 6cc7043f..6b5c0a23 100644 --- a/codec2-dev/octave/fdmdv_demod.m +++ b/codec2-dev/octave/fdmdv_demod.m @@ -102,7 +102,7 @@ function fdmdv_demod(rawfilename, nbits, NumCarriers, errorpatternfilename, symb % frequency offset estimation and correction [pilot prev_pilot pilot_lut_index prev_pilot_lut_index] = get_pilot(pilot_lut_index, prev_pilot_lut_index, nin); - [foff_coarse S1 S2] = rx_est_freq_offset(rx_fdm, pilot, prev_pilot, nin); + [foff_coarse S1 S2] = rx_est_freq_offset(rx_fdm, pilot, prev_pilot, nin, !sync ); if sync == 0 foff = foff_coarse;