Fix 1/0 correlation between sync_a pattern and sample history in noaa_apt_sink_impl.cc

This commit is contained in:
Alexander Jenke 2018-07-02 10:51:35 +00:00 committed by Manolis Surligas
parent 6b1e3d38e2
commit 07eb575437
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ namespace gr
sample = sample - f_average;
// Very basic 1/0 correlation between pattern constan and history
if((sample > 0 && synca_seq[i]) || (sample < 0 && !syncb_seq[i])) {
if((sample > 0 && synca_seq[i]) || (sample < 0 && !synca_seq[i])) {
count_a += 1;
}
if((sample > 0 && syncb_seq[i]) || (sample < 0 && !syncb_seq[i])) {