1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

Fix gcc warnings

This commit is contained in:
Jon Beniston 2021-03-05 13:54:06 +00:00
parent 5d5b221e83
commit dfbeffb0a0

View File

@ -58,6 +58,8 @@ void CostasLoop::computeCoefficients(float loopBW)
void CostasLoop::setSampleRate(unsigned int sampleRate)
{
(void) sampleRate;
reset();
}
@ -80,7 +82,7 @@ static void fastComplexMultiply(std::complex<float> &out, const std::complex<flo
void CostasLoop::feed(float re, float im)
{
std::complex<float> nco(std::cosf(-m_phase), std::sinf(-m_phase));
std::complex<float> nco(::cosf(-m_phase), ::sinf(-m_phase));
std::complex<float> in, out;
in.real(re);