Auto-generate 77-bit messages that may include /R or /P callsigns.

This commit is contained in:
Joe Taylor 2018-09-26 15:23:53 -04:00
parent 9666fb9531
commit a6ac3eed61

View File

@ -4686,12 +4686,14 @@ void MainWindow::genStdMsgs(QString rpt, bool unconditional)
bool bMyCall=stdCall(my_callsign);
bool bHisCall=stdCall(hisCall);
bool b77=(m_mode=="MSK144" or m_mode=="FT8") and (!bMyCall or !bHisCall);
bool b77=(m_mode=="MSK144" or m_mode=="FT8") and
(!bMyCall or !bHisCall or m_config.bGenerate77());
// qDebug() << "aa" << my_callsign << hisCall << bMyCall << bHisCall << b77;
QString t0=hisBase + " " + m_baseCall + " ";
QString t0a,t0b;
if(b77) {
// if(bHisCall and bMyCall) t0=hisCall + " " + my_callsign + " ";
if(bHisCall and bMyCall) t0=hisCall + " " + my_callsign + " ";
t0a="<"+hisCall + "> " + my_callsign + " ";
t0b=hisCall + " <" + my_callsign + "> ";
}