Skip to content

Commit

Permalink
move all channel scan to esp32 def only
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorYbema committed Nov 24, 2024
1 parent c74e08b commit de55d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HeishaMon/HeishaMon.ino
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ void check_wifi() {
}
if ((wifistatus == WL_STOPPED) && (WiFi.softAPgetStationNum() == 0)) {
log_message(_F("Retrying configured WiFi, ..."));
#endif
WiFi.setScanMethod(WIFI_ALL_CHANNEL_SCAN); //select best AP with same SSID
#endif
if (heishamonSettings.wifi_password[0] == '\0') {
WiFi.begin(heishamonSettings.wifi_ssid);
} else {
Expand Down

0 comments on commit de55d9d

Please sign in to comment.