1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-22 09:31:10 -05:00

DATV demod: fixed clang error

This commit is contained in:
f4exb 2022-07-24 19:11:15 +02:00
parent 56f96103e6
commit c582df6030

View File

@ -1715,16 +1715,16 @@ struct fast_qpsk_receiver : runnable
for (unsigned long a = 0; a < 65536; ++a)
{
float f = 2 * M_PI * a / 65536;
lut_sincos[a].real() = 128 + cstln_amp * cosf(f);
lut_sincos[a].imag() = 128 + cstln_amp * sinf(f);
lut_sincos[a].real(128 + cstln_amp * cosf(f));
lut_sincos[a].imag(128 + cstln_amp * sinf(f));
}
for (int a = 0; a < RLUT_ANGLES; ++a)
{
for (int r = 0; r < 256; ++r)
{
lut_rect[a][r].real() = (int)(128 + r * cos(2 * M_PI * a / RLUT_ANGLES));
lut_rect[a][r].imag() = (int)(128 + r * sin(2 * M_PI * a / RLUT_ANGLES));
lut_rect[a][r].real((int)(128 + r * cos(2 * M_PI * a / RLUT_ANGLES)));
lut_rect[a][r].imag((int)(128 + r * sin(2 * M_PI * a / RLUT_ANGLES)));
}
}
}