-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Error when reinitializing WiFi after deinitialization with WiFi.mode( WIFI_MODE_NULL ) #4842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @GiovanniCmpaner, Thanks! |
As I indicated on the first post, you need to modify the mentioned line locally on your source code. |
[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions. |
The issue appears to be present in version 2.0.0RC1.
I get these errors:
With the change suggested by OP in WiFiGeneric.cpp, line 580, it just works with no errors
I recommend to have a look at this issue as it is breaking older code, and if required, reopen the issue. |
Previous issue: 4421
Even after fix 80e9e42, I'm still getting:
This line:
arduino-esp32/libraries/WiFi/src/WiFiGeneric.cpp
Line 568 in beedeea
Should logically be:
lowLevelInitDone = not (esp_wifi_deinit() == ESP_OK);
As if deinit is successful, init flag should be false and not true.
The text was updated successfully, but these errors were encountered: