Tidied up code
This commit is contained in:
parent
c6d8b63e54
commit
95b33c9c34
@ -227,7 +227,6 @@ bool initMqtt()
|
||||
} else {
|
||||
mqtt->setServer(mqttServer, WLED_MQTT_PORT);
|
||||
}
|
||||
//mqtt->setClientId(escapedMac.c_str());
|
||||
mqtt->setClientId(mqttClientID);
|
||||
if (mqttUser[0] && mqttPass[0] != 0) mqtt->setCredentials(mqttUser, mqttPass);
|
||||
mqtt->onMessage(onMqttMessage);
|
||||
|
Loading…
Reference in New Issue
Block a user