Skip to content

Commit

Permalink
Update netconfig.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
luc-github committed Sep 3, 2024
1 parent b93e24b commit 1622278
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esp3d/src/modules/network/netconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,11 @@ if (mode == ESP_WIFI_STA || mode == ESP_WIFI_AP) {
esp3d_log("DHCP Status %d", (int)dhcp_status);
started = (dhcp_status == ESP_NETIF_DHCP_STARTED);
}
#if defined(ETH_FEATURE)
if (mode == ESP_ETH_STA) {
started = (EthConfig::ipMode()==DHCP_MODE);
}
#endif // ETH_FEATURE

#endif // ARDUINO_ARCH_ESP32
#ifdef ARDUINO_ARCH_ESP8266
Expand Down

0 comments on commit 1622278

Please sign in to comment.