mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-03-01 14:35:28 +08:00
[serial.c] 修复在没有开启ulog时,警告日志不会输出的问题
This commit is contained in:
parent
1499844699
commit
50c2af5eea
@ -333,7 +333,7 @@ static void _serial_check_buffer_size(void)
|
|||||||
|
|
||||||
if (already_output == RT_FALSE)
|
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,"
|
LOG_W("Warning: There is no enough buffer for saving data,"
|
||||||
" please increase the RT_SERIAL_RB_BUFSZ option.");
|
" please increase the RT_SERIAL_RB_BUFSZ option.");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user