Commit 07eb5754 authored by Alexander Jenke's avatar Alexander Jenke Committed by Manolis Surligas

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

parent 6b1e3d38
......@@ -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])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment