mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-23 19:25:37 -05:00
Enforce Tx audio ranges for Fox and Hounds.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8330 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
86a246fd33
commit
433eb45e86
@ -3219,6 +3219,14 @@ void MainWindow::guiUpdate()
|
||||
icw[0]=m_ncw;
|
||||
g_iptt = 1;
|
||||
setRig ();
|
||||
if(m_mode=="FT8" and m_config.bFox() and ui->TxFreqSpinBox->value() > 999) {
|
||||
ui->TxFreqSpinBox->setValue(300);
|
||||
}
|
||||
if(m_mode=="FT8" and m_config.bHound() and (ui->TxFreqSpinBox->value() < 999) and
|
||||
m_ntx != 3) {
|
||||
int nf = (qrand() % 3000) + 1000;
|
||||
ui->TxFreqSpinBox->setValue(nf);
|
||||
}
|
||||
setXIT (ui->TxFreqSpinBox->value ());
|
||||
|
||||
Q_EMIT m_config.transceiver_ptt (true); //Assert the PTT
|
||||
|
Loading…
Reference in New Issue
Block a user