When auto-sequencing, don't call GenStdMsgs if we're already sending 73.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7193 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2016-10-17 17:58:05 +00:00
parent 01c4e9eb1d
commit fe920efb6f
1 changed files with 8 additions and 6 deletions

View File

@ -3379,7 +3379,7 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl
rpt=QString::number(n);
}
ui->rptSpinBox->setValue(n);
genStdMsgs(rpt);
if(m_nTx73==0) genStdMsgs(rpt); //Don't genStdMsgs if we're already sending 73.
// Determine appropriate response to received message
auto dtext = " " + decodedtext.string () + " ";
@ -5035,11 +5035,13 @@ void MainWindow::transmit (double snr)
}
// In auto-sequencing mode, stop after 5 transmissions of "73" message.
if(m_mode=="JT9" and m_bFast9 and ui->cbAutoSeq->isChecked()) {
if(m_ntx==5) {
m_nTx73 += 1;
} else {
m_nTx73=0;
if(m_bFastMode or m_bFast9) {
if(ui->cbAutoSeq->isChecked()) {
if(m_ntx==5) {
m_nTx73 += 1;
} else {
m_nTx73=0;
}
}
}
}