You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the ESP32, you can't use the ADC2 peripheral, during Wi-Fi operations, which the current API, this is still possible.
Solution
Make esp-wifi take ownership of ADC2 when starting the stack.
Alternatives
@MabezDev suggested detecting this, and panicking, if the user tries to use ADC2, while Wi-Fi is active, since this is only a requirement on the ESP32.
Additional context
The text was updated successfully, but these errors were encountered:
Motivations
On the ESP32, you can't use the ADC2 peripheral, during Wi-Fi operations, which the current API, this is still possible.
Solution
Make esp-wifi take ownership of ADC2 when starting the stack.
Alternatives
@MabezDev suggested detecting this, and panicking, if the user tries to use ADC2, while Wi-Fi is active, since this is only a requirement on the ESP32.
Additional context
The text was updated successfully, but these errors were encountered: