switch in&out the center-sample vs. int&dump

This commit is contained in:
Nick Foster 2011-06-12 01:07:22 -07:00
parent 08730769dc
commit 3421598b7c

View File

@ -138,11 +138,15 @@ int air_modes_preamble::general_work(int noutput_items,
//all right i'm prepared to call this a preamble
//let's integrate and dump the output
//FIXME: disable and use center sample
bool life_sucks = false;
if(life_sucks) {
for(int j=0; j<240; j++) {
out[j] = in[i+j*d_samples_per_chip];
}
//i -= d_samples_per_chip-1;
//integrate_and_dump(out, &in[i], 240, d_samples_per_chip);
} else {
i -= d_samples_per_chip-1;
integrate_and_dump(out, &in[i], 240, d_samples_per_chip);
}
//now tag the preamble
add_item_tag(0, //stream ID