Skip to content

Commit b6dfee0

Browse files
author
Bogdan Marinescu
committed
Fixed stdio initialization sequence
1 parent ba97e1b commit b6dfee0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/retarget.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ static void init_serial() {
112112
if (stdio_uart_inited) return;
113113
serial_init(&stdio_uart, STDIO_UART_TX, STDIO_UART_RX);
114114
serial_baud(&stdio_uart, STDIO_DEFAULT_BAUD);
115+
stdio_uart_inited = 1;
115116
#endif
116117
}
117118

0 commit comments

Comments
 (0)