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:
parent
ae9ff3bc67
commit
09997c6546
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user