Fix cherry-pick error

This commit is contained in:
Blaž Kristan 2025-07-21 12:24:21 +02:00
parent 2509b1c5d5
commit 31cdbb13b7

View File

@ -464,8 +464,6 @@ void WLED::setup()
}
#endif
// fill in unique mdns default
if (strcmp(cmDNS, DEFAULT_MDNS_NAME) == 0) sprintf_P(cmDNS, PSTR("wled-%*s"), 6, escapedMac.c_str() + 6);
#ifndef WLED_DISABLE_MQTT
if (mqttDeviceTopic[0] == 0) sprintf_P(mqttDeviceTopic, PSTR("wled/%*s"), 6, escapedMac.c_str() + 6);
if (mqttClientID[0] == 0) sprintf_P(mqttClientID, PSTR("WLED-%*s"), 6, escapedMac.c_str() + 6);