mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-22 02:35:22 +08:00
Fixed the issue LOG_HEX no output at asyn mode.
This commit is contained in:
parent
730a0bb425
commit
61f1f698ec
@ -753,6 +753,13 @@ void ulog_hexdump(const char *tag, rt_size_t width, rt_uint8_t *buf, rt_size_t s
|
|||||||
}
|
}
|
||||||
#endif /* ULOG_USING_FILTER */
|
#endif /* ULOG_USING_FILTER */
|
||||||
|
|
||||||
|
#ifdef ULOG_USING_ASYNC_OUTPUT
|
||||||
|
if (ulog.async_rb == RT_NULL)
|
||||||
|
{
|
||||||
|
ulog.async_rb = rt_ringbuffer_create(ULOG_ASYNC_OUTPUT_BUF_SIZE);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* get log buffer */
|
/* get log buffer */
|
||||||
log_buf = get_log_buf();
|
log_buf = get_log_buf();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user