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