Skip to content

Commit 08bf6a7

Browse files
authored
use configured uart_instance rather than default instance for flushing stdio uart (#2066)
1 parent 2a4dbd9 commit 08bf6a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rp2_common/pico_stdio_uart/stdio_uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ static void stdio_uart_set_chars_available_callback(void (*fn)(void*), void *par
188188
#endif
189189

190190
static void stdio_uart_out_flush(void) {
191-
uart_default_tx_wait_blocking();
191+
uart_tx_wait_blocking(uart_instance);
192192
}
193193

194194
stdio_driver_t stdio_uart = {

0 commit comments

Comments
 (0)