mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #20903 from maribu/cpu/sam0_common/periph_dma-API-mismatch
cpu/sam0_common/periph_dma: Fix API mismatch
This commit is contained in:
commit
47ddeffe31
@ -170,7 +170,7 @@ void dma_setup(dma_t dma, unsigned trigger, uint8_t prio, bool irq)
|
||||
}
|
||||
|
||||
void dma_prepare(dma_t dma, uint8_t width, const void *src, void *dst,
|
||||
size_t num, uint8_t incr)
|
||||
size_t num, dma_incr_t incr)
|
||||
{
|
||||
DEBUG("[DMA]: Prepare %u, num: %u\n", dma, (unsigned)num);
|
||||
DmacDescriptor *descr = &descriptors[dma];
|
||||
|
Loading…
Reference in New Issue
Block a user