未验证 提交 61f151f4 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #2981 from LaoYeNing/rtt-branch

[stm32][driver_eth] 修复开启自动协商时出错的 bug 
......@@ -102,7 +102,6 @@ static rt_err_t rt_stm32_eth_init(rt_device_t dev)
if (HAL_ETH_Init(&EthHandle) != HAL_OK)
{
LOG_E("eth hardware init failed");
return -RT_ERROR;
}
else
{
......
......@@ -25,4 +25,4 @@ int phy_init(void)
rt_pin_write(RESET_IO, PIN_HIGH);
return RT_EOK;
}
INIT_APP_EXPORT(phy_init);
INIT_BOARD_EXPORT(phy_init);
......@@ -198,7 +198,7 @@ int lwip_system_init(void)
return 0;
}
INIT_COMPONENT_EXPORT(lwip_system_init);
INIT_PREV_EXPORT(lwip_system_init);
void sys_init(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册