From 923c779c837666cd59976ae688264c87553b95cf Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 2 Nov 2022 20:29:47 +0800 Subject: [PATCH] Fix lpc17_40_serial.c:935:20: error: unused function 'lpc17_40_uart3config' Signed-off-by: Xiang Xiao --- arch/arm/src/lpc17xx_40xx/lpc17_40_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/lpc17xx_40xx/lpc17_40_serial.c b/arch/arm/src/lpc17xx_40xx/lpc17_40_serial.c index aab955a5ac..5492ada786 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_serial.c +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_serial.c @@ -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;