mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00: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 */ | #endif /* USE_NETWORK_IPV6 */ | ||||||
|   this->connect_begin_ = millis(); |   this->connect_begin_ = millis(); | ||||||
|   this->status_set_warning("waiting for IP configuration"); |   this->status_set_warning("waiting for IP configuration"); | ||||||
|   // Enable loop during connection phase |  | ||||||
|   this->enable_loop(); |  | ||||||
|  |  | ||||||
|   esp_err_t err; |   esp_err_t err; | ||||||
|   err = esp_netif_set_hostname(this->eth_netif_, App.get_name().c_str()); |   err = esp_netif_set_hostname(this->eth_netif_, App.get_name().c_str()); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user