Fix lpc17_40_serial.c:935:20: error: unused function 'lpc17_40_uart3config'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-11-02 20:29:47 +08:00 committed by Petro Karashchenko
parent ef517ed05c
commit 923c779c83

View File

@ -931,7 +931,7 @@ static inline void lpc17_40_uart2config(void)
};
#endif
#ifdef CONFIG_LPC17_40_UART3
#if defined(CONFIG_LPC17_40_UART3) && !defined(CONFIG_UART3_SERIAL_CONSOLE)
static inline void lpc17_40_uart3config(void)
{
uint32_t regval;