Skip to content

Commit

Permalink
Fix PHY_CREATE_FUNC for RTL8201
Browse files Browse the repository at this point in the history
  • Loading branch information
xorbit committed Jun 5, 2021
1 parent e2477e9 commit a7b86b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esp32/esp32_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#define PHY_CREATE_FUNC esp_eth_phy_new_ip101
#elif MGOS_ETH_PHY_RTL8201
#define PHY_MODEL "RTL8201"
#define PHY_CREATE_FUNC esp_eth_phy_new_ip101
#define PHY_CREATE_FUNC esp_eth_phy_new_rtl8201
#elif MGOS_ETH_PHY_LAN87x0
#define PHY_MODEL "LAN87x0"
#define PHY_CREATE_FUNC esp_eth_phy_new_lan8720
Expand Down

0 comments on commit a7b86b5

Please sign in to comment.