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: Stefan Roese <sr@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Stefan Roese 2020-05-15 07:09:03 +02:00 committed by Tom Rini
parent bedbb383e1
commit ce6515ecee

View File

@ -112,7 +112,7 @@ void printhex8(unsigned int value);
void printdec(unsigned int value); void printdec(unsigned int value);
#ifdef CONFIG_DEBUG_UART_ANNOUNCE #ifdef CONFIG_DEBUG_UART_ANNOUNCE
#define _DEBUG_UART_ANNOUNCE printascii("<debug_uart> "); #define _DEBUG_UART_ANNOUNCE printascii("\n<debug_uart>\n");
#else #else
#define _DEBUG_UART_ANNOUNCE #define _DEBUG_UART_ANNOUNCE
#endif #endif