mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 19:32:19 +01:00
Migrate wifi component to use App.get_loop_component_start_time (#8931)
This commit is contained in:
@@ -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_) {
|
||||
|
Reference in New Issue
Block a user