Fix introduced CPU consumption bug.

This commit is contained in:
Nick Foster
2013-06-05 17:50:25 -04:00
parent 79aee53a52
commit a847f5f875
3 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -60,8 +60,8 @@ void air_modes_slicer::set_rate(int channel_rate)
d_chip_rate = 2000000; //2Mchips per second
d_samples_per_chip = 2;//FIXME this is constant now channel_rate / d_chip_rate;
d_samples_per_symbol = d_samples_per_chip * 2;
d_check_width = 240 * d_samples_per_symbol; //how far you will have to look ahead
set_output_multiple(d_check_width); //how do you specify buffer size for sinks?
d_check_width = 120 * d_samples_per_symbol; //how far you will have to look ahead
set_output_multiple(d_check_width*2); //how do you specify buffer size for sinks?
}
//this slicer is courtesy of Lincoln Labs. supposedly it is more resistant to mode A/C FRUIT.