diff --git a/testhal/STM32/STM32F1xx/UART/main.c b/testhal/STM32/STM32F1xx/UART/main.c index 96ab4ab73..76542baac 100644 --- a/testhal/STM32/STM32F1xx/UART/main.c +++ b/testhal/STM32/STM32F1xx/UART/main.c @@ -104,6 +104,7 @@ static UARTConfig uart_cfg_1 = { rxend, rxchar, rxerr, + NULL, 38400, 0, USART_CR2_LINEN, diff --git a/testhal/STM32/STM32L1xx/UART/main.c b/testhal/STM32/STM32L1xx/UART/main.c index 72d9291af..e716695a3 100644 --- a/testhal/STM32/STM32L1xx/UART/main.c +++ b/testhal/STM32/STM32L1xx/UART/main.c @@ -100,6 +100,7 @@ static UARTConfig uart_cfg_1 = { rxend, rxchar, rxerr, + NULL, 38400, 0, USART_CR2_LINEN,