Fix compile errors with DMA debug off
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2284 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
d343c1879e
commit
a9d40d6d92
@ -232,13 +232,15 @@ static inline uint32 stm32_getpwrctrl(void);
|
|||||||
|
|
||||||
/* DMA Helpers **************************************************************/
|
/* DMA Helpers **************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_SDIO_DMA
|
|
||||||
#ifdef CONFIG_DEBUG_DMA
|
|
||||||
static void stm32_dmasampleinit(void);
|
|
||||||
static void stm32_dmadumpsamples(struct stm32_dev_s *priv);
|
|
||||||
#else
|
|
||||||
#define stm32_dmasampleinit()
|
#define stm32_dmasampleinit()
|
||||||
#define stm32_dmadumpsamples(priv)
|
#define stm32_dmadumpsamples(priv)
|
||||||
|
|
||||||
|
#ifdef CONFIG_SDIO_DMA
|
||||||
|
#ifdef CONFIG_DEBUG_DMA
|
||||||
|
# undef stm32_dmasampleinit
|
||||||
|
# undef stm32_dmadumpsamples
|
||||||
|
static void stm32_dmasampleinit(void);
|
||||||
|
static void stm32_dmadumpsamples(struct stm32_dev_s *priv);
|
||||||
#endif
|
#endif
|
||||||
static void stm32_dmacallback(DMA_HANDLE handle, ubyte isr, void *arg);
|
static void stm32_dmacallback(DMA_HANDLE handle, ubyte isr, void *arg);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user