Skip to content

Commit

Permalink
Fix activate WiFi on successful WiFi setting via BLE
Browse files Browse the repository at this point in the history
  • Loading branch information
melkati committed Feb 18, 2024
1 parent 60b8c84 commit 6ee6af5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CO2_Gadget_WIFI.h
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ void wifiClientLoop() {
if ((WiFi.SSID() != wifiSSID) && (!inMenu)) {
Serial.println("-->[WiFi] Wi-Fi SSID changed. Old SSID: " + wifiSSID + ", new SSID: " + WiFi.SSID());
wifiSSID = WiFi.SSID();
activeWIFI = true;
putPreferences();
// initWifi();
wifiChanged = true;
Expand Down

0 comments on commit 6ee6af5

Please sign in to comment.