debug_uart: Add CR before and after announce string
PATCH 1/1 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 <[email protected]>
--- include/debug_uart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/debug_uart.h +1 -1
@@ -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
Signature · 1 line
2.26.2
PATCH 1/1 debug_uart: Add CR before and after announce string
Quoted 10 lines · Stefan Roese
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 <[email protected]>--- include/debug_uart.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Bin Meng <[email protected]>
PATCH 1/1 debug_uart: Add CR before and after announce string
In reply to Stefan RoeseQuoted 6 lines · Stefan Roese
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 <[email protected]>Reviewed-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200708/ebbf1ab0/attachment.sig>