diff --git a/Arduino/McLighting/McLighting.ino b/Arduino/McLighting/McLighting.ino index 858022f..4c78190 100644 --- a/Arduino/McLighting/McLighting.ino +++ b/Arduino/McLighting/McLighting.ino @@ -426,7 +426,7 @@ void setup() { // Configure MQTT // *************************************************************************** #ifdef ENABLE_MQTT_HOSTNAME_CHIPID - snprintf(mqtt_clientid, 64, "%u-%08X", HOSTNAME, ESP.getChipId()); + snprintf(mqtt_clientid, 64, "%s-%08X", HOSTNAME, ESP.getChipId()); #endif #ifdef ENABLE_MQTT