Fix the problem of FST4W transmitting on the FST4 TxFreq after mode switch.

This commit is contained in:
Joe Taylor 2020-09-30 09:37:15 -04:00
parent a7d5c3b03e
commit 541c1ddea6
1 changed files with 1 additions and 0 deletions

View File

@ -4044,6 +4044,7 @@ void MainWindow::guiUpdate()
float fsample=48000.0;
float dfreq=hmod*fsample/nsps;
float f0=ui->TxFreqSpinBox->value() - m_XIT + 1.5*dfreq;
if(m_mode=="FST4W") f0=ui->WSPRfreqSpinBox->value() - m_XIT + 1.5*dfreq;
int nwave=(nsym+2)*nsps;
int icmplx=0;
gen_fst4wave_(const_cast<int *>(itone),&nsym,&nsps,&nwave,