Commit dbd89f7
committed
Initialize DMA memcpy config struct
Call `dma_multi_data_para_struct_init` before setting `dma_init_parameter` fields in `gd32_dma_memcpy32.cpp`. This ensures the DMA parameter struct starts from a known state and avoids undefined behavior from uninitialized fields.1 parent ba0a8b5 commit dbd89f7
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
0 commit comments