up_putc: do up_putc when enable CONFIG_ARCH_LOWPUTC
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
9a53601ba9
commit
5a22d33475
|
@ -573,10 +573,10 @@ void up_uartloop(void)
|
||||||
* Name: up_putc
|
* Name: up_putc
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef USE_DEVCONSOLE
|
|
||||||
int up_putc(int ch)
|
int up_putc(int ch)
|
||||||
{
|
{
|
||||||
|
#ifdef USE_DEVCONSOLE
|
||||||
tty_send(&g_console_dev, ch);
|
tty_send(&g_console_dev, ch);
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in New Issue