From bbf19d717074eec6e4b432dfe3d334dbcceb4c82 Mon Sep 17 00:00:00 2001 From: Patrick Balsiger Date: Thu, 15 Nov 2018 13:59:02 +0100 Subject: [PATCH] remove some comments --- src/MqttPlugin.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MqttPlugin.cpp b/src/MqttPlugin.cpp index fdbc0e2..a505053 100644 --- a/src/MqttPlugin.cpp +++ b/src/MqttPlugin.cpp @@ -55,7 +55,7 @@ void MqttPlugin::connect() void MqttPlugin::upstreamHandler(String topic, String msg) { // publish message on remote queue - PRINT_MSG(Serial, "MQTT", String("upstream: " + msg).c_str()); + PRINT_MSG(Serial, "MQTT", String("publish remote: " + topic).c_str()); client->publish((String(mqttConfig.outTopicRoot) + topic).c_str(), msg.c_str()); } @@ -72,6 +72,5 @@ void MqttPlugin::downstreamHandler(char *topic, uint8_t *payload, unsigned int l String localTopic = String(topic).substring(topicRootLength); publish(localTopic, msg); - PRINT_MSG(Serial, "MQTT", (String(topic) + " " + msg).c_str()); PRINT_MSG(Serial, "MQTT", (String("publish local: ") + localTopic).c_str()); }