From 39cb4dfc82bc2d011d4e6278595c4791a04b8537 Mon Sep 17 00:00:00 2001 From: proddy Date: Tue, 7 Jul 2020 23:21:56 +0200 Subject: [PATCH] updated comments --- src/devices/connect.cpp | 2 +- src/devices/gateway.cpp | 2 +- src/devices/switch.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/devices/connect.cpp b/src/devices/connect.cpp index ffffbdb5e..04446c8c2 100644 --- a/src/devices/connect.cpp +++ b/src/devices/connect.cpp @@ -31,7 +31,7 @@ Connect::Connect(uint8_t device_type, uint8_t device_id, uint8_t product_id, con // register_telegram_type(EMS_TYPE_XX, "XX", false, std::bind(&Controller::process_XX, this, _1)); // MQTT callbacks - // register_mqtt_topic("cmd", std::bind(&Controller::cmd, this, _1)); + // register_mqtt_topic("cmd", std::bind(&Connect::cmd, this, _1)); } void Connect::add_context_menu() { diff --git a/src/devices/gateway.cpp b/src/devices/gateway.cpp index c752395c5..c256a53b6 100644 --- a/src/devices/gateway.cpp +++ b/src/devices/gateway.cpp @@ -33,7 +33,7 @@ Gateway::Gateway(uint8_t device_type, uint8_t device_id, uint8_t product_id, con // register_telegram_type(EMS_TYPE_XX, "XX", false, std::bind(&Controller::process_XX, this, _1)); // MQTT callbacks - // register_mqtt_topic("cmd", std::bind(&Controller::cmd, this, _1)); + // register_mqtt_topic("cmd", std::bind(&Gateway::cmd, this, _1)); } void Gateway::add_context_menu() { diff --git a/src/devices/switch.cpp b/src/devices/switch.cpp index 773b215d8..a88ccd146 100644 --- a/src/devices/switch.cpp +++ b/src/devices/switch.cpp @@ -33,7 +33,7 @@ Switch::Switch(uint8_t device_type, uint8_t device_id, uint8_t product_id, const // register_telegram_type(EMS_TYPE_XX, "XX", false, std::bind(&Controller::process_XX, this, _1)); // MQTT callbacks - // register_mqtt_topic("cmd", std::bind(&Controller::cmd, this, _1)); + // register_mqtt_topic("cmd", std::bind(&Switch::cmd, this, _1)); } void Switch::add_context_menu() {