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