From 3f6f770de993d332bac59d93172f40e25ad3d0b6 Mon Sep 17 00:00:00 2001 From: Chen Wu Date: Thu, 23 Nov 2023 16:28:34 +0800 Subject: [PATCH] fix(FCS-1331): Fixed a compilation failure with ethernet phy lan8720 --- components/at/src/at_eth_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/at/src/at_eth_init.c b/components/at/src/at_eth_init.c index c6acfade..e68cbe3f 100644 --- a/components/at/src/at_eth_init.c +++ b/components/at/src/at_eth_init.c @@ -49,7 +49,7 @@ bool esp_at_get_eth_default_config(esp_eth_config_t* config) #elif CONFIG_PHY_RTL8201 esp_eth_phy_t *phy = esp_eth_phy_new_rtl8201(&phy_config); #elif CONFIG_PHY_LAN8720 - esp_eth_phy_t *phy = esp_eth_phy_new_lan8720(&phy_config); + esp_eth_phy_t *phy = esp_eth_phy_new_lan87xx(&phy_config); #elif CONFIG_PHY_DP83848 esp_eth_phy_t *phy = esp_eth_phy_new_dp83848(&phy_config); #endif