Skip to content

Commit

Permalink
Update MQTT-temp-humidity-ESP32.ino
Browse files Browse the repository at this point in the history
fix bug in wifi begin/status code
  • Loading branch information
jfabernathy authored Jul 13, 2021
1 parent a806b92 commit ed0367d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MQTT-temp-humidity-ESP32.ino
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void setup_wifi() {
while (status != WL_CONNECTED) {
delay(1000);
Serial.print(".");
status = WiFi.begin(ssid, password);
status = WiFi.status();
}

Serial.println("");
Expand Down

0 comments on commit ed0367d

Please sign in to comment.