This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 5a22d3347515c9c6b1164b5c199023c999cf7969 Author: Jiuzhu Dong <[email protected]> AuthorDate: Tue Dec 14 11:52:25 2021 +0800 up_putc: do up_putc when enable CONFIG_ARCH_LOWPUTC Signed-off-by: Jiuzhu Dong <[email protected]> --- arch/sim/src/sim/up_uart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sim/src/sim/up_uart.c b/arch/sim/src/sim/up_uart.c index ea13005..61f7ca7 100644 --- a/arch/sim/src/sim/up_uart.c +++ b/arch/sim/src/sim/up_uart.c @@ -573,10 +573,10 @@ void up_uartloop(void) * Name: up_putc ****************************************************************************/ -#ifdef USE_DEVCONSOLE int up_putc(int ch) { +#ifdef USE_DEVCONSOLE tty_send(&g_console_dev, ch); +#endif return 0; } -#endif
