Skip to content

Commit

Permalink
0.8.123
Browse files Browse the repository at this point in the history
* fix ESP32 static IP as well
  • Loading branch information
lumapu committed May 30, 2024
1 parent c154cdd commit 1d7940a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Development Changes

## 0.8.123 - 2024-05-30
* fix ESP8266 static IP #1643 #1608
* fix ESP8266, ESP32 static IP #1643 #1608
* update MqTT library which enhances stability #1646
* merge PR: MQTT JSON Payload pro Kanal und total, auswählbar #1541
* add option to publish mqtt as json
Expand Down
2 changes: 1 addition & 1 deletion src/network/AhoyWifiEsp32.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class AhoyWifi : public AhoyNetwork {
#if !defined(AP_ONLY)
WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN);
WiFi.setSortMethod(WIFI_CONNECT_AP_BY_SIGNAL);
setStaticIp();
WiFi.begin(mConfig->sys.stationSsid, mConfig->sys.stationPwd, WIFI_ALL_CHANNEL_SCAN);
mWifiConnecting = true;

Expand All @@ -41,7 +42,6 @@ class AhoyWifi : public AhoyNetwork {
mStatus = NetworkState::CONNECTED;
mWifiConnecting = false;
DPRINTLN(DBG_INFO, F("Network connected"));
setStaticIp();
}
break;

Expand Down

0 comments on commit 1d7940a

Please sign in to comment.