fd4835a119
Add dependency on multimedia/libv4l and qt5-widgets Sort LIB_DEPENDS Add patch to fix issue reported by db@
11 lines
493 B
C++
11 lines
493 B
C++
--- qsstv/drmrx/demodulator.cpp.orig 2016-04-08 23:08:29 UTC
|
|
+++ qsstv/drmrx/demodulator.cpp
|
|
@@ -946,7 +946,7 @@ bool demodulator::channelEstimation()
|
|
temp2 += actual_pilots[2 * j] * next_pilots[2 * j + 1] -actual_pilots[2 * j + 1] * next_pilots[2 * j];
|
|
|
|
}
|
|
- if (i != 0) delta_freq_offset = (float) atan2(temp2, temp1 + MIN_ABS_H);
|
|
+ if (i != 0) delta_freq_offset = atan2f(temp2, temp1 + MIN_ABS_H);
|
|
|
|
for (j = 0; j < K_max - K_min + 1; j++)
|
|
{
|