mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
tx_mode changes for EMS+
This commit is contained in:
@@ -369,7 +369,7 @@ void MyESP::mqttSubscribe(const char * topic) {
|
||||
//char topic_s[MQTT_MAX_TOPIC_SIZE];
|
||||
//strlcpy(topic_s, _mqttTopic(topic), sizeof(topic_s));
|
||||
(void)mqttClient.subscribe(topic_s, _mqtt_qos);
|
||||
myDebug_P(PSTR("[MQTT] Subscribing to %s"), topic_s);
|
||||
// myDebug_P(PSTR("[MQTT] Subscribing to %s"), topic_s);
|
||||
|
||||
// add to mqtt log
|
||||
_addMQTTLog(topic_s, "", 2); // type of 2 means Subscribe. Has an empty payload for now
|
||||
|
||||
Reference in New Issue
Block a user