Skip to content

Commit 1eeb409

Browse files
committed
Update reti.ino
1 parent 8fc1bbd commit 1eeb409

File tree

1 file changed

+1
-1
lines changed
  • SmartHome_ESP8266/SmartHome_v50beta8

1 file changed

+1
-1
lines changed

SmartHome_ESP8266/SmartHome_v50beta8/reti.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void setup_reti() {
5151
WiFi.setOutputPower(0);
5252
WiFi.setAutoReconnect(true);
5353
WiFi.mode(WIFI_STA);
54-
MQTTclient.setServer(mqtt_server, 1883);
54+
MQTTclient.setServer(mqtt_server, mqtt_port);
5555
MQTTclient.setCallback(callback);
5656
if ((!S_IP.fromString(IP) or !S_SUBNET.fromString(SUBNET) or !S_GATEWAY.fromString(GATEWAY) or !S_DNSIP.fromString(DNSIP)) and Static_IP ) {
5757
Static_IP = false;

0 commit comments

Comments
 (0)