sync long: fix reset state

This commit is contained in:
Bastian Bloessl
2013-03-24 20:14:27 +01:00
parent 104f62b6db
commit d7c67d361a
+3 -2
View File
@@ -150,11 +150,12 @@ int general_work (int noutput, gr_vector_int& ninput_items,
d_freq_est = gr_complex(0, 0);
d_state = SYNC;
break;
}
d_offset++;
} else if(rel > 15) {
out[o] = 0;
o++;
}
d_offset++;
}
break;