mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Bug fix: only Fox (=DxCall) should be able to trigger a Hound Tx3 transmission.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8549 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
37f36a31ab
commit
ca4d83a6dc
@ -2992,13 +2992,16 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
auto_tx_mode(false);
|
||||
on_logQSOButton_clicked();
|
||||
} else {
|
||||
m_rptRcvd=w.at(2);
|
||||
m_rptSent=decodedtext.string().mid(7,3);
|
||||
//### Select TX3, set random TxFreq in [300-900], and Force Auto ON. ###
|
||||
ui->txrb3->setChecked(true);
|
||||
int fTx = 300.0 + 600.0*double(qrand())/RAND_MAX;
|
||||
ui->TxFreqSpinBox->setValue(fTx);
|
||||
if(!m_auto) auto_tx_mode(true);
|
||||
if(w.at(1)==Radio::base_callsign(ui->dxCallEntry->text()) and
|
||||
(w.at(2).mid(0,1)=="+" or w.at(2).mid(0,1)=="-")) {
|
||||
m_rptRcvd=w.at(2);
|
||||
m_rptSent=decodedtext.string().mid(7,3);
|
||||
//### Select TX3, set random TxFreq in [300-900], and Force Auto ON. ###
|
||||
ui->txrb3->setChecked(true);
|
||||
int fTx = 300.0 + 600.0*double(qrand())/RAND_MAX;
|
||||
ui->TxFreqSpinBox->setValue(fTx);
|
||||
if(!m_auto) auto_tx_mode(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user