diff --git a/plugins/channelrx/chanalyzer/chanalyzer.cpp b/plugins/channelrx/chanalyzer/chanalyzer.cpp index 3fbbc8528..bf3da6141 100644 --- a/plugins/channelrx/chanalyzer/chanalyzer.cpp +++ b/plugins/channelrx/chanalyzer/chanalyzer.cpp @@ -35,7 +35,6 @@ ChannelAnalyzer::ChannelAnalyzer(BasebandSampleSink* sampleSink) : m_sampleRate = 96000; m_frequency = 0; m_nco.setFreq(m_frequency, m_sampleRate); - m_nco_test.setFreq(m_frequency, m_sampleRate); m_undersampleCount = 0; m_sum = 0; m_usb = true; diff --git a/plugins/channelrx/chanalyzer/chanalyzer.h b/plugins/channelrx/chanalyzer/chanalyzer.h index a2003e6fe..adc2c1361 100644 --- a/plugins/channelrx/chanalyzer/chanalyzer.h +++ b/plugins/channelrx/chanalyzer/chanalyzer.h @@ -20,7 +20,7 @@ #include #include #include -#include "dsp/nco.h" +#include "dsp/ncof.h" #include "dsp/fftfilt.h" #include "audio/audiofifo.h" #include "util/message.h" @@ -93,8 +93,7 @@ private: bool m_ssb; Real m_magsq; - NCO m_nco; - NCO m_nco_test; + NCOF m_nco; fftfilt* SSBFilter; fftfilt* DSBFilter;