mirror of
https://github.com/esphome/esphome.git
synced 2025-09-14 17:22:20 +01:00
remove redundant enable_loop, it must already be enabled to get here
This commit is contained in:
@@ -462,8 +462,6 @@ void EthernetComponent::start_connect_() {
|
||||
#endif /* USE_NETWORK_IPV6 */
|
||||
this->connect_begin_ = millis();
|
||||
this->status_set_warning("waiting for IP configuration");
|
||||
// Enable loop during connection phase
|
||||
this->enable_loop();
|
||||
|
||||
esp_err_t err;
|
||||
err = esp_netif_set_hostname(this->eth_netif_, App.get_name().c_str());
|
||||
|
Reference in New Issue
Block a user