Tidied up code

This commit is contained in:
Timothy Brown 2019-08-17 07:26:40 -04:00
parent c6d8b63e54
commit 95b33c9c34

View File

@ -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);