Fix 1/0 correlation between sync_a pattern and sample history in noaa_apt_sink_impl.cc
This commit is contained in:
parent
6b1e3d38e2
commit
07eb575437
|
@ -175,7 +175,7 @@ namespace gr
|
||||||
sample = sample - f_average;
|
sample = sample - f_average;
|
||||||
|
|
||||||
// Very basic 1/0 correlation between pattern constan and history
|
// 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;
|
count_a += 1;
|
||||||
}
|
}
|
||||||
if((sample > 0 && syncb_seq[i]) || (sample < 0 && !syncb_seq[i])) {
|
if((sample > 0 && syncb_seq[i]) || (sample < 0 && !syncb_seq[i])) {
|
||||||
|
|
Loading…
Reference in New Issue