Browse Source

Revert "bugfix: when syncing only try every second input value"

This reverts commit 878d2b5bc5.
we are already skipping every second input, because i counts outputitems
dev
Clemens Richter 9 years ago
parent
commit
c2c1471ab4
  1. 2
      lib/sync_decim_impl.cc

2
lib/sync_decim_impl.cc

@ -134,7 +134,7 @@ namespace gr {
int skip_is_better_counter=0; int skip_is_better_counter=0;
if (noutput_items>8)//TODO: what if there are never more than 9 outputs requested if (noutput_items>8)//TODO: what if there are never more than 9 outputs requested
{ {
for (int i = 0; i < noutput_items; i+=2) { for (int i = 0; i < noutput_items; i++) {
if(i==0){ if(i==0){
out_skip=last_input-in[DECIM*i];} out_skip=last_input-in[DECIM*i];}
else{ else{

Loading…
Cancel
Save