Fix lpc17_40_serial.c:814:20: error: unused function 'lpc17_40_uart0config'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-10-31 22:17:52 +08:00 committed by Petro Karashchenko
parent ae9ff3bc67
commit 09997c6546

View File

@ -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;