Migrate wifi component to use App.get_loop_component_start_time (#8931)
This commit is contained in:
1 parent
c4cb694d77
commit
ffc66f539f
1 file changed
+1
-1
@@ -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