mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2026-01-28 01:47:21 +01:00
use configured uart_instance rather than default instance for flushing stdio uart (#2066)
This commit is contained in:
parent
2a4dbd9b7c
commit
08bf6a7faa
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue