Fix ethernet reset gpio

This commit is contained in:
feedc0de committed 2022-03-28 15:31:54 +02:00
1 parent c17062e1e8
commit 982f8e0e02
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2714,7 +2714,7 @@ tl::expected<void, std::string> eth_begin(const config &config, const eth_config
eth_phy_config_t phy_config ETH_PHY_DEFAULT_CONFIG();
phy_config.phy_addr = eth.phy_addr;
phy_config.reset_gpio_num = eth.power;
phy_config.reset_gpio_num = eth.reset_gpio;
esp_eth_phy_t *eth_phy{};