From 15be3b2217422ee688092b827b31d999335cf8df Mon Sep 17 00:00:00 2001 From: Josh Felmeden Date: Thu, 18 Jan 2024 17:07:46 +0000 Subject: [PATCH] Added line feed to newline for maaxboard LDR putc Signed-off-by: Josh Felmeden --- loader/src/loader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/loader/src/loader.c b/loader/src/loader.c index 98a796c9..31144871 100644 --- a/loader/src/loader.c +++ b/loader/src/loader.c @@ -154,6 +154,8 @@ putc(uint8_t ch) { while (!(*UART_REG(STAT) & STAT_TDRE)) { } *UART_REG(TRANSMIT) = ch; + if (ch == '\n') + *UART_REG(TRANSMIT) = '\r'; } #else #error Board not defined