add missing change to dma.h from __force_inline fix (#680)

This commit is contained in:
Graham Sanderson 2021-12-08 12:32:09 -06:00 committed by GitHub
parent 386e2a7bc6
commit add120e4f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,8 +194,8 @@ typedef struct {
} ch[NUM_DMA_CHANNELS];
} dma_debug_hw_t;
#define dma_hw ((dma_hw_t *const)DMA_BASE)
#define dma_debug_hw ((dma_debug_hw_t *const)(DMA_BASE + DMA_CH0_DBG_CTDREQ_OFFSET))
#define dma_hw ((dma_hw_t *)DMA_BASE)
#define dma_debug_hw ((dma_debug_hw_t *)(DMA_BASE + DMA_CH0_DBG_CTDREQ_OFFSET))
static_assert( NUM_DMA_TIMERS == 4, "");
static_assert( NUM_DMA_CHANNELS == 12, "");