mirror of
https://github.com/esphome/esphome.git
synced 2026-09-27 23:10:21 +00:00
Remove redundant esp_netif_init
This commit is contained in:
@@ -634,9 +634,6 @@ void WiFiComponent::setup() {
|
||||
if (this->enable_on_boot_) {
|
||||
this->start();
|
||||
} else {
|
||||
#ifdef USE_ESP32
|
||||
esp_netif_init();
|
||||
#endif
|
||||
this->state_ = WIFI_COMPONENT_STATE_DISABLED;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user