From 1a19243653574932c7d44427ca5adddc310b0381 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 25 Jul 2023 16:20:23 +0100 Subject: [PATCH] Rename display MQTT endpoints. --- MMDVMHost.cpp | 4 ++-- Version.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MMDVMHost.cpp b/MMDVMHost.cpp index 7ad2c34..1331d1b 100644 --- a/MMDVMHost.cpp +++ b/MMDVMHost.cpp @@ -356,7 +356,7 @@ int CMMDVMHost::run() ::LogInitialise(m_conf.getLogDisplayLevel(), m_conf.getLogMQTTLevel()); std::vector> subscriptions; - subscriptions.push_back(std::make_pair("display", CMMDVMHost::onDisplay)); + subscriptions.push_back(std::make_pair("display-in", CMMDVMHost::onDisplay)); if (m_conf.getRemoteControlEnabled()) subscriptions.push_back(std::make_pair("command", CMMDVMHost::onCommand)); @@ -1350,7 +1350,7 @@ int CMMDVMHost::run() len = m_modem->readSerialData(data); if (len > 0U) - m_mqtt->publish("display", data, len); + m_mqtt->publish("display-out", data, len); unsigned int ms = stopWatch.elapsed(); stopWatch.start(); diff --git a/Version.h b/Version.h index 7b0d708..0938a41 100644 --- a/Version.h +++ b/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20230723"; +const char* VERSION = "20230725"; #endif