mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
add missing change to dma.h from __force_inline fix (#680)
This commit is contained in:
parent
386e2a7bc6
commit
add120e4f6
1 changed files with 2 additions and 2 deletions
|
|
@ -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, "");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue