Skip to contentSkip to conversation

debug_uart: Add CR before and after announce string

PATCH New Stefan Roese 3 participants 3 messages May 15, 2020 – Jul 9, 2020

lore
Share & tools
lore
#0 lore raw

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.

---
 include/debug_uart.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/debug_uart.h +1 -1
index 4d1c58075c..714b369e6f 100644
@@ -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
#1 lore raw

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.

---
 include/debug_uart.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#2 lore raw

PATCH 1/1 debug_uart: Add CR before and after announce string

In reply to Stefan Roese
Quoted 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.

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>