Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cores/esp32/IPAddress.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ class IPAddress: public Printable
friend class DNSClient;
};

const IPAddress INADDR_NONE(0, 0, 0, 0);
// const IPAddress INADDR_NONE(0, 0, 0, 0);

#endif
4 changes: 4 additions & 0 deletions libraries/WiFi/src/ETH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,12 @@ bool ETHClass::begin(uint8_t phy_addr, int power, int mdc, int mdio, eth_phy_typ
eth_phy = esp_eth_phy_new_dm9051(&phy_config);
break;
#endif

#if ((ESP_IDF_VERSION_MAJOR >= 4) && (ESP_IDF_VERSION_MINOR > 3))
case ETH_PHY_KSZ8081:
eth_phy = esp_eth_phy_new_ksz8081(&phy_config);
break;
#endif
default:
break;
}
Expand Down