1
0
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:
Dylan Laduranty 2024-10-10 07:38:36 +00:00 committed by GitHub
commit 47ddeffe31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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];