fixed bug due to cpu load mod reduction mods
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 3 Oct 2014 08:13:28 +0000 (08:13 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Fri, 3 Oct 2014 08:13:28 +0000 (08:13 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@1873 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/octave/fdmdv_demod.m

index 6cc7043f15d30c7bda1efaf99a3c11a33708ef8f..6b5c0a23d683bda227a27198aa6e219b9a28283c 100644 (file)
@@ -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;