Fix the behavior of WSPR-LF (-fsk8) for real-time decoding.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7690 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2017-05-18 20:02:32 +00:00
parent 9458acb01b
commit 9e1a46f55d

View File

@ -1111,7 +1111,7 @@ void MainWindow::fixStop()
if(m_mode=="WSPR") { if(m_mode=="WSPR") {
m_hsymStop=396; m_hsymStop=396;
} else if(m_mode=="WSPR-LF") { } else if(m_mode=="WSPR-LF") {
m_hsymStop=832; m_hsymStop=813;
} else if(m_mode=="Echo") { } else if(m_mode=="Echo") {
m_hsymStop=10; m_hsymStop=10;
} else if (m_mode=="JT4"){ } else if (m_mode=="JT4"){
@ -1277,7 +1277,7 @@ void MainWindow::dataSink(qint64 frames)
double f0m1500=m_dialFreqRxWSPR/1000000.0; // + 0.000001*(m_BFO - 1500); double f0m1500=m_dialFreqRxWSPR/1000000.0; // + 0.000001*(m_BFO - 1500);
t2.sprintf(" -f %.6f ",f0m1500); t2.sprintf(" -f %.6f ",f0m1500);
if(m_diskData) { if(m_diskData or m_mode=="WSPR-LF") {
cmnd='"' + m_appDir + '"' + "/wsprd -a \"" + cmnd='"' + m_appDir + '"' + "/wsprd -a \"" +
QDir::toNativeSeparators(m_dataDir.absolutePath()) + "\" \"" + m_path + "\""; QDir::toNativeSeparators(m_dataDir.absolutePath()) + "\" \"" + m_path + "\"";
} else { } else {
@ -4573,7 +4573,7 @@ void MainWindow::on_actionWSPR_LF_triggered()
m_TRperiod=240; m_TRperiod=240;
m_modulator->setPeriod(m_TRperiod); // TODO - not thread safe m_modulator->setPeriod(m_TRperiod); // TODO - not thread safe
m_detector->setPeriod(m_TRperiod); // TODO - not thread safe m_detector->setPeriod(m_TRperiod); // TODO - not thread safe
m_hsymStop=832; m_hsymStop=813;
m_toneSpacing=12000.0/24576.0; m_toneSpacing=12000.0/24576.0;
setup_status_bar (false); setup_status_bar (false);
ui->actionWSPR_LF->setChecked(true); ui->actionWSPR_LF->setChecked(true);