diff --git a/bsp/hc32f4a0/drivers/drv_usart.c b/bsp/hc32f4a0/drivers/drv_usart.c index 9e150d154b8e81d9dd6b25dfcc4498ce33661f34..92eea82507cfd53fa4af57db717cfc30f036d4d7 100644 --- a/bsp/hc32f4a0/drivers/drv_usart.c +++ b/bsp/hc32f4a0/drivers/drv_usart.c @@ -321,7 +321,7 @@ static const struct uart_index uart_clock_map[] = #endif #ifdef BSP_USING_UART10 {9, M4_USART10}, -#endif +#endif }; static const struct uart_irq_handler uart_irq_handlers[sizeof(uart_obj) / sizeof(uart_obj[0])];