STM32F7: Fix a redefinition warning the DMA header file

This commit is contained in:
David Sidrane 2016-06-08 08:29:30 -06:00 committed by Gregory Nutt
parent d8ea955d69
commit 4a4f407175

View File

@ -489,8 +489,8 @@
#define DMAMAP_I2C2_TX_1 STM32_DMA_MAP(DMA1,DMA_STREAM4,DMA_CHAN8)
#define DMAMAP_I2C4_TX_1 STM32_DMA_MAP(DMA1,DMA_STREAM6,DMA_CHAN8)
#define DMAMAP_SPI2_RX STM32_DMA_MAP(DMA1,DMA_STREAM1,DMA_CHAN9)
#define DMAMAP_SPI2_TX STM32_DMA_MAP(DMA1,DMA_STREAM6,DMA_CHAN9)
#define DMAMAP_SPI2_RX_1 STM32_DMA_MAP(DMA1,DMA_STREAM1,DMA_CHAN9)
#define DMAMAP_SPI2_TX_1 STM32_DMA_MAP(DMA1,DMA_STREAM6,DMA_CHAN9)
#define DMAMAP_ADC1_1 STM32_DMA_MAP(DMA2,DMA_STREAM0,DMA_CHAN0)
#define DMAMAP_SAI1_A_1 STM32_DMA_MAP(DMA2,DMA_STREAM1,DMA_CHAN0)
@ -586,7 +586,7 @@
#define DMAMAP_SAI1_A_3 STM32_DMA_MAP(DMA2,DMA_STREAM6,DMA_CHAN10)
#define DMAMAP_SDMMC2_1 STM32_DMA_MAP(DMA2,DMA_STREAM0,DMA_CHAN11)
#define DMAMAP_QUADSPI STM32_DMA_MAP(DMA2,DMA_STREAM2,DMA_CHAN11)
#define DMAMAP_QUADSPI_1 STM32_DMA_MAP(DMA2,DMA_STREAM2,DMA_CHAN11)
#define DMAMAP_SDMMC2_2 STM32_DMA_MAP(DMA2,DMA_STREAM5,DMA_CHAN11)
#endif /* CONFIG_STM32F7_STM32F76XX || CONFIG_STM32F7_STM32F77XX */