change(adc): refactor DMA memory allocation

This commit is contained in:
morris
2024-06-17 11:11:06 +08:00
parent b4b1906d2c
commit ea9630d977
2 changed files with 6 additions and 9 deletions

View File

@@ -32,6 +32,8 @@ typedef struct {
intr_handle_t dma_intr_hdl;
} adc_dma_t;
#define ADC_DMA_DESC_ALIGN 4
#ifdef __cplusplus
}
#endif