diff --git a/mainwindow.cpp b/mainwindow.cpp index b79f288..6eee7fc 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -283,7 +283,6 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, // no parent so that it has a taskbar icon m_logDlg (new LogQSO (program_title (), m_settings, &m_config, nullptr)), m_lastDialFreq {0}, - m_dialFreqRxWSPR {0}, m_detector {new Detector {RX_SAMPLE_RATE, NTMAX, downSampleFactor}}, m_FFTSize {6192 / 2}, // conservative value to avoid buffer overruns m_soundInput {new SoundInput}, @@ -2497,10 +2496,12 @@ void MainWindow::dataSink(qint64 frames) dec_data.params.ndiskdat=0; } +#if 0 m_bUseRef=m_wideGraph->useRef(); refspectrum_(&dec_data.d2[k-m_nsps/2],&m_bClearRefSpec,&m_bRefSpec, &m_bUseRef,c_fname,len); m_bClearRefSpec=false; +#endif // Get power, spectrum, and ihsym int trmin=m_TRperiod/60; @@ -2524,10 +2525,6 @@ void MainWindow::dataSink(qint64 frames) fixStop(); - if(m_ihsym==3*m_hsymStop/4) { - m_dialFreqRxWSPR=m_freqNominal; - } - // could we decode all at once? QDateTime now {DriftingDateTime::currentDateTimeUtc ()}; diff --git a/mainwindow.h b/mainwindow.h index bbcd89f..6157238 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -487,7 +487,6 @@ private: Frequency m_lastDialFreq; QString m_lastBand; QString m_lastCallsign; - Frequency m_dialFreqRxWSPR; // best guess at WSPR QRG Detector * m_detector; unsigned m_FFTSize;