Files
ports/comms/qsstv/files/patch-drmrx_demodulator.cpp
T
Charlie Li b040d3ad8f comms/qsstv: update to 9.5.8
Now builds and runs with current hamlib.

Changelog: http://users.telenet.be/on4qz/qsstv/manual/changelog.html

DOCS option removed since building it continues to be problematic,
and the upstream author encourages using the online documentation
anyway.

Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D33313
2021-12-07 10:42:30 -05:00

12 lines
481 B
C++

--- drmrx/demodulator.cpp.orig 2019-02-26 18:17:40 UTC
+++ drmrx/demodulator.cpp
@@ -947,7 +947,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++)
{