Migrate wifi component to use App.get_loop_component_start_time (#8931)

This commit is contained in:
J. Nick Koston 2025-05-28 16:33:54 -05:00 committed by GitHub
parent c4cb694d77
commit ffc66f539f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,7 +122,7 @@ void WiFiComponent::start() {
void WiFiComponent::loop() {
this->wifi_loop_();
const uint32_t now = millis();
const uint32_t now = App.get_loop_component_start_time();
if (this->has_sta()) {
if (this->is_connected() != this->handled_connected_state_) {