diff --git a/src/rp2_common/pico_stdio_uart/stdio_uart.c b/src/rp2_common/pico_stdio_uart/stdio_uart.c index 63fab01c7..54cd86e01 100644 --- a/src/rp2_common/pico_stdio_uart/stdio_uart.c +++ b/src/rp2_common/pico_stdio_uart/stdio_uart.c @@ -188,7 +188,7 @@ static void stdio_uart_set_chars_available_callback(void (*fn)(void*), void *par #endif static void stdio_uart_out_flush(void) { - uart_default_tx_wait_blocking(); + uart_tx_wait_blocking(uart_instance); } stdio_driver_t stdio_uart = {