To keep calling Fox, Hound must reactivate Enable Tx at least once every 2 minutes.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8458 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2018-02-05 19:58:03 +00:00
parent 8d13c8a9b4
commit ece7dff7b3

View File

@ -1701,8 +1701,7 @@ void MainWindow::on_autoButton_clicked (bool checked)
m_bAutoReply = false; // ready for next
m_bCallingCQ = true; // allows tail-enders to be picked up
ui->cbFirst->setStyleSheet ("QCheckBox{color:red}");
}
else {
} else {
ui->cbFirst->setStyleSheet("");
}
if (!checked) m_bCallingCQ = false;
@ -1721,6 +1720,7 @@ void MainWindow::on_autoButton_clicked (bool checked)
}
ui->sbTxPercent->setPalette(palette);
}
m_tAutoOn=QDateTime::currentMSecsSinceEpoch()/1000;
}
void MainWindow::auto_tx_mode (bool state)
@ -3561,10 +3561,15 @@ void MainWindow::guiUpdate()
} else {
m_bVHFwarned=false;
}
if(m_config.bHound()) m_bWarnedHound=false;
if(m_config.my_callsign()=="SV5DKL") {
Q_EMIT finished();
}
if(m_config.bHound()) {
m_bWarnedHound=false;
qint32 tHound=QDateTime::currentMSecsSinceEpoch()/1000 - m_tAutoOn;
//To keep calling, Hound must reactivate Enable Tx at least once every 2 minutes:
if(tHound >= 120) auto_tx_mode(false);
}
if(m_auto and m_mode=="Echo" and m_bEchoTxOK) {
progressBar.setMaximum(6);
progressBar.setValue(int(m_s6));