Skip to content

Commit

Permalink
fix(wifiprov): Fix starting Wifi when already provisioned (espressif#…
Browse files Browse the repository at this point in the history
  • Loading branch information
P-R-O-C-H-Y authored Aug 13, 2024
1 parent 49d9b06 commit 4aab817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/WiFiProv/src/WiFiProv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void WiFiProvClass ::beginProvision(
#endif
config.app_event_handler.event_cb = NULL;
config.app_event_handler.user_data = NULL;
wifiLowLevelInit(true);
WiFi.STA.begin(false);
if (wifi_prov_mgr_init(config) != ESP_OK) {
log_e("wifi_prov_mgr_init failed!");
return;
Expand Down

0 comments on commit 4aab817

Please sign in to comment.