diff options
author | Ben Reynwar | 2012-12-19 11:14:59 -0700 |
---|---|---|
committer | Ben Reynwar | 2012-12-19 11:14:59 -0700 |
commit | 22cbfd0138751fdb035a2076100f7c4753c6d7d9 (patch) | |
tree | 20bc4c924f30ffacc192976e55c37061e297f127 /gr-atsc/src/lib/atsci_sssr.cc | |
parent | b97d4ae651ab57b5d8e72ea8668d682b27bdf1ab (diff) | |
download | gnuradio-22cbfd0138751fdb035a2076100f7c4753c6d7d9.tar.gz gnuradio-22cbfd0138751fdb035a2076100f7c4753c6d7d9.tar.bz2 gnuradio-22cbfd0138751fdb035a2076100f7c4753c6d7d9.zip |
atsc: Fixed bug I made in last commit.
Diffstat (limited to 'gr-atsc/src/lib/atsci_sssr.cc')
-rw-r--r-- | gr-atsc/src/lib/atsci_sssr.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-atsc/src/lib/atsci_sssr.cc b/gr-atsc/src/lib/atsci_sssr.cc index 7a9791467..efd9ffbbd 100644 --- a/gr-atsc/src/lib/atsci_sssr.cc +++ b/gr-atsc/src/lib/atsci_sssr.cc @@ -145,6 +145,8 @@ atsci_sssr::update (sssr::sample_t sample_in, // input int bit = boost::math::signbit (sample_in); if (bit != 0) + bit = 0; + else bit = 1; int corr_out = d_correlator.update (bit); int weight = sipp (corr_out); |