[console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
This commit is contained in:
Man, Jianting (Meco)
2022-01-08 10:29:41 -05:00
committed by Bernard Xiong
parent 353f717037
commit bb1084556f
784 changed files with 62419 additions and 45674 deletions

View File

@@ -47,7 +47,7 @@ void rt_hw_board_init()
rt_hw_uart_init();
#endif
#ifdef RT_USING_CONSOLE
#if defined(RT_USING_CONSOLE) && defined(RT_USING_DEVICE)
rt_console_set_device(RT_CONSOLE_DEVICE_NAME);
#endif