summaryrefslogtreecommitdiff
path: root/gr-atsc/src/lib/atsc_bit_timing_loop.cc
diff options
context:
space:
mode:
authorcswiger2007-04-23 10:45:42 +0000
committercswiger2007-04-23 10:45:42 +0000
commitd049678e49aefaa823ce45bd9310e2e43c93e1cf (patch)
treeed7b5a030611df1e4ca916bf19717a165e1bab9f /gr-atsc/src/lib/atsc_bit_timing_loop.cc
parentaaf51ed7d99ba7cb9badd38c15e8643425b8bf78 (diff)
downloadgnuradio-d049678e49aefaa823ce45bd9310e2e43c93e1cf.tar.gz
gnuradio-d049678e49aefaa823ce45bd9310e2e43c93e1cf.tar.bz2
gnuradio-d049678e49aefaa823ce45bd9310e2e43c93e1cf.zip
Fixed atsc_field_sync_demux to consume input even when not creating
output. Added python files to make a complete 2.x atsc receiver, but it is not fully working. It will happily produce the exact same amount of transport stream output as a working system but has errors in the data. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5081 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-atsc/src/lib/atsc_bit_timing_loop.cc')
-rw-r--r--gr-atsc/src/lib/atsc_bit_timing_loop.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-atsc/src/lib/atsc_bit_timing_loop.cc b/gr-atsc/src/lib/atsc_bit_timing_loop.cc
index 49623a4fe..7c12fc111 100644
--- a/gr-atsc/src/lib/atsc_bit_timing_loop.cc
+++ b/gr-atsc/src/lib/atsc_bit_timing_loop.cc
@@ -28,7 +28,8 @@
#include <gr_io_signature.h>
#include <atsc_consts.h>
-float input_rate = 20e6;
+// Input rate changed from 20MHz to 19.2 to support usrp at 3 * 6.4MHz
+float input_rate = 19.2e6;
double ratio_of_rx_clock_to_symbol_freq = input_rate / ATSC_SYMBOL_RATE;