1
0
Эх сурвалжийг харах

mv rt_components_board_init to rt_hw_board_init

Aubr.Cool 10 жил өмнө
parent
commit
95fe1d15ca

+ 1 - 1
bsp/lpc408x/applications/board.c

@@ -64,5 +64,5 @@ void rt_hw_board_init()
     lpc_sdram_hw_init();
     rt_kprintf("done!\n");
 #endif
-
+    rt_components_board_init();
 }

+ 0 - 1
bsp/lpc408x/applications/startup.c

@@ -39,7 +39,6 @@ void rtthread_startup(void)
     rt_system_heap_init((void *)HEAP_BEGIN, (void *)HEAP_END);
 #endif
 #endif
-    rt_components_board_init();
     /* initialize scheduler system */
     rt_system_scheduler_init();
     /* initialize system timer*/