Merge pull request #4594 from rtthread-bot/rtt_bot

[update] RT-Thread Robot automatic submission
This commit is contained in:
Bernard Xiong 2021-04-11 09:56:23 +08:00 committed by GitHub
commit 1298a38dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -168,7 +168,7 @@ RT_WEAK void rt_hw_board_init()
#endif
/* Set the shell console output device */
#ifdef RT_USING_CONSOLE
#if defined(RT_USING_CONSOLE) && defined(RT_USING_DEVICE)
rt_console_set_device(RT_CONSOLE_DEVICE_NAME);
#endif

View File

@ -13,7 +13,9 @@
#include <rtthread.h>
#include <rthw.h>
#ifdef RT_USING_DEVICE
#include <rtdevice.h>
#endif
#ifdef __cplusplus
extern "C" {