diff --git a/source/hic_hal/cmsis-driver/uart/uart.c b/source/hic_hal/cmsis-driver/uart/uart.c index 8369ce7a7b..d63353bd88 100644 --- a/source/hic_hal/cmsis-driver/uart/uart.c +++ b/source/hic_hal/cmsis-driver/uart/uart.c @@ -171,6 +171,8 @@ int32_t uart_set_configuration(UART_Configuration *config) NVIC_ClearPendingIRQ(CMSIS_UART_IRQ); NVIC_EnableIRQ(CMSIS_UART_IRQ); + uart_reset(); + return 1; }