mirror of
https://github.com/esphome/esphome.git
synced 2025-07-27 21:56:34 +00:00
Migrate wifi component to use App.get_loop_component_start_time (#8931)
This commit is contained in:
parent
c4cb694d77
commit
ffc66f539f
@ -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_) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user