clear failure on restart

This commit is contained in:
J. Nick Koston
2025-11-11 16:15:12 -06:00
parent d54179fd12
commit efe6e58404

View File

@@ -421,6 +421,7 @@ void WiFiComponent::restart_adapter() {
// Don't set retry_phase_ or num_retried_ here - state machine handles transitions
this->state_ = WIFI_COMPONENT_STATE_COOLDOWN;
this->action_started_ = millis();
this->error_from_callback_ = false;
}
void WiFiComponent::loop() {