From c8625f7664dfab8f817165501911d04217573329 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 23 Mar 2026 13:26:41 +0000 Subject: [PATCH] Move the JSON CW Id indication to be a message not a mode. --- MMDVMHost.cpp | 4 ++-- Version.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MMDVMHost.cpp b/MMDVMHost.cpp index 7d6f5cb..7d38ee5 100644 --- a/MMDVMHost.cpp +++ b/MMDVMHost.cpp @@ -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; diff --git a/Version.h b/Version.h index 333292c..fb57f8f 100644 --- a/Version.h +++ b/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20260310"; +const char* VERSION = "20260323"; #endif