mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
fix debug log in standalone
This commit is contained in:
@@ -829,7 +829,7 @@ void Mqtt::register_mqtt_ha_sensor(const char * prefix,
|
|||||||
LOG_ERROR(F("Failed to publish topic %s"), topic);
|
LOG_ERROR(F("Failed to publish topic %s"), topic);
|
||||||
} else {
|
} else {
|
||||||
#if defined(EMSESP_STANDALONE)
|
#if defined(EMSESP_STANDALONE)
|
||||||
LOG_DEBUG(F("Publishing topic=%s, payload=%s"), topic, payload_text.c_str());
|
LOG_DEBUG(F("Publishing topic=%s, payload=%s"), topic, payload_text);
|
||||||
#else
|
#else
|
||||||
LOG_DEBUG(F("Publishing topic %s"), topic);
|
LOG_DEBUG(F("Publishing topic %s"), topic);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user