提交 b9ec9d64 编写于 作者: X xieyangrun

finsh init change to application thread

上级 01c43e8b
......@@ -83,6 +83,13 @@ void rt_init_thread_entry(void* parameter)
rt_device_t dev;
rt_kprintf("SYSTEM running at %uhz\n", SystemCoreClock);
#ifdef RT_USING_FINSH
/* init finsh */
finsh_system_init();
finsh_set_device("uart1");
#endif
LED_Init();
configure_extint_channel();
configure_extint_callbacks();
......
......@@ -94,12 +94,6 @@ void rtthread_startup(void)
/* init application */
rt_application_init();
#ifdef RT_USING_FINSH
/* init finsh */
finsh_system_init();
finsh_set_device("uart1");
#endif
/* init timer thread */
rt_system_timer_thread_init();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册