From 0cf932f57ed780124e49a6477c25ce20f08f6d86 Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 29 Nov 2025 14:49:08 +0100 Subject: [PATCH] comment change --- src/ESP32React/MqttSettingsService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ESP32React/MqttSettingsService.cpp b/src/ESP32React/MqttSettingsService.cpp index 7550262cf..d616f3491 100644 --- a/src/ESP32React/MqttSettingsService.cpp +++ b/src/ESP32React/MqttSettingsService.cpp @@ -173,7 +173,7 @@ bool MqttSettingsService::configureMqtt() { // only connect if WiFi is connected and MQTT is enabled if (_state.enabled && emsesp::EMSESP::system_.network_connected() && !_state.host.isEmpty()) { - // create last will topic with the base prefixed. It has to be static because the client destroys the reference + // create the Last Will Testament topic (LWT) with the base prefixed. It has to be static because the client destroys the reference static char will_topic[FACTORY_MQTT_MAX_TOPIC_LENGTH]; if (_state.base.isEmpty()) { snprintf(will_topic, sizeof(will_topic), "status");