Skip to content
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

ESP now driver not de-initializing WIFI #3169

Open
simonpeterrodgers opened this issue Feb 24, 2025 · 0 comments
Open

ESP now driver not de-initializing WIFI #3169

simonpeterrodgers opened this issue Feb 24, 2025 · 0 comments
Labels
bug Something isn't working package:esp-wifi Issues related to the esp-wifi package

Comments

@simonpeterrodgers
Copy link

wifi_deinit does not seem to be called after using the esp now driver.

I think the issue is in EspNowManager::drop which updates the WIFI flag and checks if it is 0. However fetch_update returns the previous value which is expected to be 1 since the esp now manger calls wifi_init.

The EspWifiController::drop then doesn't call wifi_deinit since the WIFI flag was updated to 0 in EspNowManager::drop.

@MabezDev MabezDev added bug Something isn't working package:esp-wifi Issues related to the esp-wifi package labels Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package:esp-wifi Issues related to the esp-wifi package
Projects
Status: Todo
Development

No branches or pull requests

2 participants