mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-01 04:37:50 -04:00
Make sure that Tx audio frequency in FST4 mode comes from FST4 TxFreq spinner, not the WSPR/FST4W spinner.
This commit is contained in:
parent
39403c2520
commit
8f554321c8
@ -7159,6 +7159,7 @@ void MainWindow::transmit (double snr)
|
|||||||
int hmod=1; //No FST4/W submodes
|
int hmod=1; //No FST4/W submodes
|
||||||
double dfreq=hmod*12000.0/nsps;
|
double dfreq=hmod*12000.0/nsps;
|
||||||
double f0=ui->WSPRfreqSpinBox->value() - m_XIT;
|
double f0=ui->WSPRfreqSpinBox->value() - m_XIT;
|
||||||
|
if(m_mode=="FST4") f0=ui->TxFreqSpinBox->value() - m_XIT;
|
||||||
if(!m_tune) f0 += + 1.5*dfreq;
|
if(!m_tune) f0 += + 1.5*dfreq;
|
||||||
Q_EMIT sendMessage (m_mode, NUM_FST4_SYMBOLS,double(nsps),f0,toneSpacing,
|
Q_EMIT sendMessage (m_mode, NUM_FST4_SYMBOLS,double(nsps),f0,toneSpacing,
|
||||||
m_soundOutput,m_config.audio_output_channel(),
|
m_soundOutput,m_config.audio_output_channel(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user