summaryrefslogtreecommitdiffstats
path: root/bsps/riscv
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-10 15:01:49 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-17 12:58:33 +0200
commitaf69a8693b4f4a7f1ea41d2948c3550a46ae6e17 (patch)
tree70396dad726a196df3699357ab439390604c0502 /bsps/riscv
parentgrlib: Remove NL -> CR in apbuart_outbyte_polled() (diff)
downloadrtems-af69a8693b4f4a7f1ea41d2948c3550a46ae6e17.tar.bz2
grlib: Add apbuart_outbyte_wait()
Diffstat (limited to 'bsps/riscv')
-rw-r--r--bsps/riscv/griscv/console/printk_support.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bsps/riscv/griscv/console/printk_support.c b/bsps/riscv/griscv/console/printk_support.c
index 4c8acd55c5..f232203520 100644
--- a/bsps/riscv/griscv/console/printk_support.c
+++ b/bsps/riscv/griscv/console/printk_support.c
@@ -100,7 +100,8 @@ static void bsp_out_char(char c)
*/
}
- apbuart_outbyte_polled(grlib_debug_uart, c, 1);
+ apbuart_outbyte_polled(grlib_debug_uart, c);
+ apbuart_outbyte_wait(grlib_debug_uart);
}
/*