This is an automated email from the ASF dual-hosted git repository. pkarashchenko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 09997c65469b15f53165ef306e2308a20d75ac18 Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Mon Oct 31 22:17:52 2022 +0800 Fix lpc17_40_serial.c:814:20: error: unused function 'lpc17_40_uart0config' Signed-off-by: Xiang Xiao <xiaoxi...@xiaomi.com> --- 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 a0da10db36..dede4d21e1 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc17_40_serial.c +++ b/arch/arm/src/lpc17xx_40xx/lpc17_40_serial.c @@ -810,7 +810,7 @@ static inline uint32_t lpc17_40_uartcclkdiv(uint32_t baud) * ****************************************************************************/ -#ifdef CONFIG_LPC17_40_UART0 +#if defined(CONFIG_LPC17_40_UART0) && !defined(CONFIG_UART0_SERIAL_CONSOLE) static inline void lpc17_40_uart0config(void) { uint32_t regval;