[serial.c] 修复在没有开启ulog时,警告日志不会输出的问题

This commit is contained in:
z14git 2020-01-21 16:38:07 +08:00
parent 1499844699
commit 50c2af5eea
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ static void _serial_check_buffer_size(void)
if (already_output == RT_FALSE)
{
#if defined(ULOG_USING_ISR_LOG)
#if !defined(RT_USING_ULOG) || defined(ULOG_USING_ISR_LOG)
LOG_W("Warning: There is no enough buffer for saving data,"
" please increase the RT_SERIAL_RB_BUFSZ option.");
#endif