summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_uart.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_uart.h b/nuttx/arch/arm/src/stm32/stm32_uart.h
index bd00c34e6..c4dd4da94 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