mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-28 15:09:02 -04:00
Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280
This commit is contained in:
commit
6a4f1fbdf7
@ -5158,7 +5158,7 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
|
|||||||
int n=rpt.toInt();
|
int n=rpt.toInt();
|
||||||
rpt = rpt.asprintf("%+2.2d",n);
|
rpt = rpt.asprintf("%+2.2d",n);
|
||||||
|
|
||||||
if(m_mode=="MSK144" or m_mode=="FT8" or m_mode=="FT4") {
|
if(m_mode=="MSK144" or m_mode=="FT8" or m_mode=="FT4" || m_mode=="FST240") {
|
||||||
QString t2,t3;
|
QString t2,t3;
|
||||||
QString sent=rpt;
|
QString sent=rpt;
|
||||||
QString rs,rst;
|
QString rs,rst;
|
||||||
@ -5238,7 +5238,7 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
|
|||||||
}
|
}
|
||||||
|
|
||||||
t=t0 + (m_send_RR73 ? "RR73" : "RRR");
|
t=t0 + (m_send_RR73 ? "RR73" : "RRR");
|
||||||
if((m_mode=="MSK144" and !m_bShMsgs) or m_mode=="FT8" or m_mode=="FT4") {
|
if((m_mode=="MSK144" and !m_bShMsgs) or m_mode=="FT8" or m_mode=="FT4" || m_mode == "FST240") {
|
||||||
if(!bHisCall and bMyCall) t=hisCall + " <" + my_callsign + "> " + (m_send_RR73 ? "RR73" : "RRR");
|
if(!bHisCall and bMyCall) t=hisCall + " <" + my_callsign + "> " + (m_send_RR73 ? "RR73" : "RRR");
|
||||||
if(bHisCall and !bMyCall) t="<" + hisCall + "> " + my_callsign + " " + (m_send_RR73 ? "RR73" : "RRR");
|
if(bHisCall and !bMyCall) t="<" + hisCall + "> " + my_callsign + " " + (m_send_RR73 ? "RR73" : "RRR");
|
||||||
}
|
}
|
||||||
@ -5246,7 +5246,7 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
|
|||||||
msgtype(t, ui->tx4);
|
msgtype(t, ui->tx4);
|
||||||
|
|
||||||
t=t0 + "73";
|
t=t0 + "73";
|
||||||
if((m_mode=="MSK144" and !m_bShMsgs) or m_mode=="FT8" or m_mode=="FT4") {
|
if((m_mode=="MSK144" and !m_bShMsgs) or m_mode=="FT8" or m_mode=="FT4" || m_mode == "FST240") {
|
||||||
if(!bHisCall and bMyCall) t=hisCall + " <" + my_callsign + "> 73";
|
if(!bHisCall and bMyCall) t=hisCall + " <" + my_callsign + "> 73";
|
||||||
if(bHisCall and !bMyCall) t="<" + hisCall + "> " + my_callsign + " 73";
|
if(bHisCall and !bMyCall) t="<" + hisCall + "> " + my_callsign + " 73";
|
||||||
}
|
}
|
||||||
@ -5262,7 +5262,7 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_mode=="FT8" or m_mode=="FT4" or m_mode=="MSK144") return;
|
if(m_mode=="FT8" or m_mode=="FT4" or m_mode=="MSK144" || m_mode == "FST240") return;
|
||||||
|
|
||||||
if (is_compound) {
|
if (is_compound) {
|
||||||
if (is_type_one) {
|
if (is_type_one) {
|
||||||
@ -5277,7 +5277,7 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
|
|||||||
if (!eme_short_codes) {
|
if (!eme_short_codes) {
|
||||||
if((m_mode=="MSK144" || m_mode=="FT8" || m_mode=="FT4") &&
|
if((m_mode=="MSK144" || m_mode=="FT8" || m_mode=="FT4") &&
|
||||||
SpecOp::NA_VHF == m_config.special_op_id()) {
|
SpecOp::NA_VHF == m_config.special_op_id()) {
|
||||||
msgtype(t + "R " + my_grid, ui->tx3);
|
msgtype(t + "R " + my_grid, ui->tx3); // #### Unreachable code
|
||||||
} else {
|
} else {
|
||||||
msgtype(t + "R" + rpt, ui->tx3);
|
msgtype(t + "R" + rpt, ui->tx3);
|
||||||
}
|
}
|
||||||
@ -5306,7 +5306,7 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
|
|||||||
if (!eme_short_codes) {
|
if (!eme_short_codes) {
|
||||||
if ((m_mode=="MSK144" || m_mode=="FT8" || m_mode=="FT4") &&
|
if ((m_mode=="MSK144" || m_mode=="FT8" || m_mode=="FT4") &&
|
||||||
SpecOp::NA_VHF == m_config.special_op_id()) {
|
SpecOp::NA_VHF == m_config.special_op_id()) {
|
||||||
msgtype(t + "R " + my_grid, ui->tx3);
|
msgtype(t + "R " + my_grid, ui->tx3); // #### Unreachable code
|
||||||
msgtype(t + "RRR", ui->tx4);
|
msgtype(t + "RRR", ui->tx4);
|
||||||
} else {
|
} else {
|
||||||
msgtype(t0 + "R" + rpt, ui->tx3);
|
msgtype(t0 + "R" + rpt, ui->tx3);
|
||||||
|
Loading…
Reference in New Issue
Block a user