We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kalibrate-bladeRF/src/fcch_detector.cc
Line 318 in 7b06cf8
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT kal-fcch_detector.o -MD -MP -MF .deps/kal-fcch_detector.Tpo -c -o kal-fcch_detector.o test -f 'fcch_detector.cc' || echo './'fcch_detector.cc fcch_detector.cc: In member function ‘float fcch_detector::freq_detect(const complex*, unsigned int, float*)’: fcch_detector.cc:320:29: error: lvalue required as left operand of assignment fft[i].real() = m_out[i][0]; ^ fcch_detector.cc:321:29: error: lvalue required as left operand of assignment fft[i].imag() = m_out[i][1]; ^ Makefile:470: recipe for target 'kal-fcch_detector.o' failed make: *** [kal-fcch_detector.o] Error 1
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT kal-fcch_detector.o -MD -MP -MF .deps/kal-fcch_detector.Tpo -c -o kal-fcch_detector.o
fcch_detector.cc fcch_detector.cc: In member function ‘float fcch_detector::freq_detect(const complex*, unsigned int, float*)’: fcch_detector.cc:320:29: error: lvalue required as left operand of assignment fft[i].real() = m_out[i][0]; ^ fcch_detector.cc:321:29: error: lvalue required as left operand of assignment fft[i].imag() = m_out[i][1]; ^ Makefile:470: recipe for target 'kal-fcch_detector.o' failed make: *** [kal-fcch_detector.o] Error 1
The text was updated successfully, but these errors were encountered:
Fixed in fcch_detector.cc L318
fft[i] = complex(m_out[i][0], m_out[i][1]);
Also should use constexpr in fcch_detector.h static constexpr double GSM_RATE = 1625000.0 / 6.0;
Sorry, something went wrong.
No branches or pull requests
kalibrate-bladeRF/src/fcch_detector.cc
Line 318 in 7b06cf8
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT kal-fcch_detector.o -MD -MP -MF .deps/kal-fcch_detector.Tpo -c -o kal-fcch_detector.o
test -f 'fcch_detector.cc' || echo './'fcch_detector.cc fcch_detector.cc: In member function ‘float fcch_detector::freq_detect(const complex*, unsigned int, float*)’: fcch_detector.cc:320:29: error: lvalue required as left operand of assignment fft[i].real() = m_out[i][0]; ^ fcch_detector.cc:321:29: error: lvalue required as left operand of assignment fft[i].imag() = m_out[i][1]; ^ Makefile:470: recipe for target 'kal-fcch_detector.o' failed make: *** [kal-fcch_detector.o] Error 1
The text was updated successfully, but these errors were encountered: