Skip to content

Commit 1231d3f

Browse files
committed
Fix FTBFS introduced with commit 6ff63fd.
1 parent 7f1f857 commit 1231d3f

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

Diff for: tools/sdk/esp32c3/include/esp_eth/include/esp_eth_phy.h

+11
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,17 @@ esp_eth_phy_t *esp_eth_phy_new_rtl8201(const eth_phy_config_t *config);
242242
*/
243243
esp_eth_phy_t *esp_eth_phy_new_lan8720(const eth_phy_config_t *config);
244244

245+
/**
246+
* @brief Create a PHY instance of LAN8742
247+
*
248+
* @param[in] config: configuration of PHY
249+
*
250+
* @return
251+
* - instance: create PHY instance successfully
252+
* - NULL: create PHY instance failed because some error occurred
253+
*/
254+
esp_eth_phy_t *esp_eth_phy_new_lan8742(const eth_phy_config_t *config);
255+
245256
/**
246257
* @brief Create a PHY instance of DP83848
247258
*

Diff for: tools/sdk/esp32s2/include/esp_eth/include/esp_eth_phy.h

+11
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,17 @@ esp_eth_phy_t *esp_eth_phy_new_rtl8201(const eth_phy_config_t *config);
242242
*/
243243
esp_eth_phy_t *esp_eth_phy_new_lan8720(const eth_phy_config_t *config);
244244

245+
/**
246+
* @brief Create a PHY instance of LAN8742
247+
*
248+
* @param[in] config: configuration of PHY
249+
*
250+
* @return
251+
* - instance: create PHY instance successfully
252+
* - NULL: create PHY instance failed because some error occurred
253+
*/
254+
esp_eth_phy_t *esp_eth_phy_new_lan8742(const eth_phy_config_t *config);
255+
245256
/**
246257
* @brief Create a PHY instance of DP83848
247258
*

0 commit comments

Comments
 (0)