From a1cbb7d8fb507829872e9b924ddf2145f27726ee Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 22 Sep 2015 09:02:06 -0600 Subject: [PATCH] Correct bad cut-and-paste in STM32 F7 stm32_uart.h. Noted by Vlad Chiorean --- arch/arm/src/stm32f7/stm32_uart.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/src/stm32f7/stm32_uart.h b/arch/arm/src/stm32f7/stm32_uart.h index 2a9b848928..9b1bce0b4e 100644 --- a/arch/arm/src/stm32f7/stm32_uart.h +++ b/arch/arm/src/stm32f7/stm32_uart.h @@ -51,16 +51,16 @@ * device. */ -#if CONFIG_STM32F7_ < 4 +#if STM32F7_NUART < 4 # undef CONFIG_STM32F7_UART8 #endif -#if CONFIG_STM32F7_ < 4 +#if STM32F7_NUART < 3 # undef CONFIG_STM32F7_UART7 #endif -#if CONFIG_STM32F7_ < 3 +#if STM32F7_NUART < 2 # undef CONFIG_STM32F7_UART5 #endif -#if CONFIG_STM32F7_ < 1 +#if STM32F7_NUART < 1 # undef CONFIG_STM32F7_UART4 #endif