From 092ef661af1f970122993ad175bcc420898788ca Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 2 Mar 2024 18:20:18 +0000 Subject: Workaround for uart makefile issues (#23192) --- platforms/chibios/drivers/uart_sio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platforms/chibios/drivers/uart_sio.c') diff --git a/platforms/chibios/drivers/uart_sio.c b/platforms/chibios/drivers/uart_sio.c index ebf51ae5a8..442df1c54d 100644 --- a/platforms/chibios/drivers/uart_sio.c +++ b/platforms/chibios/drivers/uart_sio.c @@ -16,7 +16,7 @@ static SIOConfig sioConfig = { #else static SIOConfig sioConfig = { .baud = SIO_DEFAULT_BITRATE, -# if defined(MCU_STM32) && defined(CHIBIOS_HAL_USARTv3) +# if defined(MCU_STM32) && defined(USE_USARTV3) .presc = USART_PRESC1, # endif .cr1 = UART_CR1, -- cgit v1.2.3