From 1ea40cb0edd2a20d79d30c9559d6af2f1eb2ba5a Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 20 Jul 2015 15:49:07 -0600 Subject: [PATCH] STM32 F7 Ethernet: Fix some backward conditinal compilation --- arch/arm/src/stm32f7/stm32_ethernet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/stm32f7/stm32_ethernet.c b/arch/arm/src/stm32f7/stm32_ethernet.c index 3a81e5f45d..a2ba919251 100644 --- a/arch/arm/src/stm32f7/stm32_ethernet.c +++ b/arch/arm/src/stm32f7/stm32_ethernet.c @@ -238,7 +238,7 @@ #define DMA_ALIGN_UP(n) (((n) + DMA_BUFFER_MASK) & ~DMA_BUFFER_MASK) #define DMA_ALIGN_DOWN(n) ((n) & ~DMA_BUFFER_MASK) -#ifdef CONFIG_STM32F7_ETH_ENHANCEDDESC +#ifndef CONFIG_STM32F7_ETH_ENHANCEDDESC # define RXDESC_SIZE 16 # define TXDESC_SIZE 16 #else