Refining the JSON schema based on the requirements of the display driver.

This commit is contained in:
Jonathan Naylor
2023-07-26 16:32:33 +01:00
parent 1a19243653
commit e4de1951cc
4 changed files with 7 additions and 4 deletions

View File

@@ -1441,6 +1441,7 @@ int CMMDVMHost::run()
if (m_cwIdTimer.isRunning() && m_cwIdTimer.hasExpired()) {
if (!m_modem->hasTX()){
LogDebug("sending CW ID");
writeJSONMode("CW");
m_modem->sendCWId(m_cwCallsign);
m_cwIdTimer.setTimeout(m_cwIdTime);
@@ -3492,6 +3493,7 @@ void CMMDVMHost::remoteControl(const std::string& commandString)
cwtext += " ";
cwtext += m_remoteControl->getArgString(i);
}
writeJSONMode("CW");
m_modem->sendCWId(cwtext);
}
break;