fix: typo

This commit is contained in:
2026-04-14 01:25:16 +08:00
parent 1a51b3f67b
commit db6c93d8ec

View File

@@ -13,7 +13,7 @@ typedef struct {
volatile uint32_t RESV[10]; // 0x18 ~ 0x3C: 保留空间,凑齐 0x40 字节 volatile uint32_t RESV[10]; // 0x18 ~ 0x3C: 保留空间,凑齐 0x40 字节
} dma_ch_regs_t; } dma_ch_regs_t;
// 8通道 DMA 控制器基地址 // DMA 控制器基地址
#define CDMA_MUX_BASE 0xbf300000 #define CDMA_MUX_BASE 0xbf300000
#define DMA_CH(i) ((volatile dma_ch_regs_t*)(CDMA_MUX_BASE + (i) * 0x40)) #define DMA_CH(i) ((volatile dma_ch_regs_t*)(CDMA_MUX_BASE + (i) * 0x40))