equalizer: fix pilot pattern

This commit is contained in:
Bastian Bloessl
2015-04-11 09:44:35 +02:00
parent cb4dc5e3fa
commit ea71ceb4fe
+1
View File
@@ -62,6 +62,7 @@ int general_work (int noutput_items, gr_vector_int& ninput_items,
gr_complex p = POLARITY[index]; gr_complex p = POLARITY[index];
index++; index++;
index %= 127;
// FIXME: think about this... average over amplitude or power // FIXME: think about this... average over amplitude or power
double avg_mag = (abs(in[11]) + abs(in[25]) + abs(in[39]) + abs(in[53])) / 4; double avg_mag = (abs(in[11]) + abs(in[25]) + abs(in[39]) + abs(in[53])) / 4;