Fix generation of Tx2 in RTTY mode. Fix a related problem of decoding the incorrect RTTY message.

This commit is contained in:
Joe Taylor
2018-08-03 11:46:28 -04:00
parent 800e29d4db
commit 0d7cd3ed03
2 changed files with 11 additions and 6 deletions
+5 -2
View File
@@ -4760,9 +4760,12 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
if(m_config.bRTTYroundup()) {
t=t0 + rst + m_config.RTTYExchange(); //Use a real report
msgtype(t, ui->tx2);
QString t1=m_config.RTTYExchange();
if(t1=="DX" or t1=="#") t1.sprintf("%4.4d",ui->sbSerialNumber->value());
if(t1=="DX" or t1=="#") {
t1.sprintf("%4.4d",ui->sbSerialNumber->value());
t=t0 + rst + t1;
}
msgtype(t, ui->tx2);
t=t0 + "R " + rst + t1;
msgtype(t, ui->tx3);
m_send_RR73=true;