Move the JSON CW Id indication to be a message not a mode.

This commit is contained in:
Jonathan Naylor 2026-03-23 13:26:41 +00:00
parent e15578e31d
commit c8625f7664
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -19,6 +19,6 @@
#if !defined(VERSION_H)
#define VERSION_H
const char* VERSION = "20260310";
const char* VERSION = "20260323";
#endif