提交 ce6515ec 编写于 作者: S Stefan Roese 提交者: Tom Rini

debug_uart: Add CR before and after announce string

Add linefeeds before and after the announce string. This makes the
output easier to read, especially if some text follows the announce
message without a specific additional CR.
Signed-off-by: NStefan Roese <sr@denx.de>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
上级 bedbb383
......@@ -112,7 +112,7 @@ void printhex8(unsigned int value);
void printdec(unsigned int value);
#ifdef CONFIG_DEBUG_UART_ANNOUNCE
#define _DEBUG_UART_ANNOUNCE printascii("<debug_uart> ");
#define _DEBUG_UART_ANNOUNCE printascii("\n<debug_uart>\n");
#else
#define _DEBUG_UART_ANNOUNCE
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册