diff --git a/nuttx/arch/arm/src/stm32/stm32_uart.h b/nuttx/arch/arm/src/stm32/stm32_uart.h index bd00c34e686..c4dd4da9486 100644 --- a/nuttx/arch/arm/src/stm32/stm32_uart.h +++ b/nuttx/arch/arm/src/stm32/stm32_uart.h @@ -168,11 +168,11 @@ # undef CONFIG_USART3_RXDMA #endif -#ifndef CONFIG_STM32_USART4 +#ifndef CONFIG_STM32_UART4 # undef CONFIG_USART4_RXDMA #endif -#ifndef CONFIG_STM32_USART5 +#ifndef CONFIG_STM32_UART5 # undef CONFIG_USART5_RXDMA #endif