add missing port references

This commit is contained in:
theFeiter 2022-06-25 21:34:40 +02:00
parent f018f71eba
commit 039aae0ef5
4 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ void setup() {
delay(500);
}
DBG("WiFi Connected");
client.setServer(mqtt_server, 1883);
client.setServer(mqtt_server, mqtt_port);
if (!client.connected()) {
DBG("Connecting MQTT...");
reconnect();

View File

@ -49,7 +49,7 @@ void setup() {
delay(500);
}
DBG("WiFi Connected");
client.setServer(mqtt_server, 1883);
client.setServer(mqtt_server, mqtt_port);
if (!client.connected()) {
DBG("Connecting MQTT...");
reconnect();

View File

@ -49,7 +49,7 @@ void setup() {
delay(500);
}
DBG("WiFi Connected");
client.setServer(mqtt_server, 1883);
client.setServer(mqtt_server, mqtt_port);
if (!client.connected()) {
DBG("Connecting MQTT...");
reconnect();

View File

@ -49,7 +49,7 @@ void setup() {
delay(500);
}
DBG("WiFi Connected");
client.setServer(mqtt_server, 1883);
client.setServer(mqtt_server, mqtt_port);
if (!client.connected()) {
DBG("Connecting MQTT...");
reconnect();