mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-01 10:54:48 +02:00
Move the JSON CW Id indication to be a message not a mode.
This commit is contained in:
parent
e15578e31d
commit
c8625f7664
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue