Browse Source

bugfix: when syncing only try every second input value

dev
Clemens Richter 9 years ago
parent
commit
878d2b5bc5
  1. 2
      lib/sync_decim_impl.cc

2
lib/sync_decim_impl.cc

@ -127,7 +127,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++) { for (int i = 0; i < noutput_items; i+=2) {
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