Browse Source

fix eth init error

SummerGift 7 years ago
parent
commit
6584c70353
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/stm32f429-apollo/drivers/drv_eth.c

+ 1 - 1
bsp/stm32f429-apollo/drivers/drv_eth.c

@@ -589,4 +589,4 @@ static int rt_hw_stm32_eth_init(void)
 	
     return state;
 }
-INIT_DEVICE_EXPORT(rt_hw_stm32_eth_init);
+INIT_APP_EXPORT(rt_hw_stm32_eth_init);