Skip to content

Commit

Permalink
Update ui_settings_wifi.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Jan 29, 2024
1 parent 1e48197 commit 0599246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbn_m5tough_active_boat/ui_settings_wifi.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ extern "C" {
wifi_password = preferences.getString("WIFI_PASSWD");
WiFi.setAutoConnect(true);
WiFi.setAutoReconnect(true);
WiFi.setMinSecurity(WIFI_AUTH_WPA_PSK);
WiFi.mode(WIFI_STA);
//WiFi.setMinSecurity(WIFI_AUTH_WPA_PSK);
WiFi.begin(wifi_ssid.c_str(), wifi_password.c_str());
return wifi_ssid.length() > 0;
}
Expand Down

0 comments on commit 0599246

Please sign in to comment.