Skip to content

Commit 9604516

Browse files
committed
【修改】 网卡驱动的初始化应当在 lwip 初始化之后以及应用调用网络接口之前,因此修改初始化等级为 device 是比较合适的。
1 parent bdd2b2b commit 9604516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/stm32/libraries/HAL_Drivers/drv_eth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,4 +667,4 @@ static int rt_hw_stm32_eth_init(void)
667667

668668
return state;
669669
}
670-
INIT_APP_EXPORT(rt_hw_stm32_eth_init);
670+
INIT_DEVICE_EXPORT(rt_hw_stm32_eth_init);

0 commit comments

Comments
 (0)