mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
702ad02b33
Match the signature of the implementation of the dma_prepare() with the declaration to fix: /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/sam0_common/periph/dma.c:172:6: error: conflicting types for 'dma_prepare' due to enum/integer mismatch; have 'void(dma_t, uint8_t, const void *, void *, size_t, uint8_t)' {aka 'void(unsigned int, unsigned char, const void *, void *, unsigned int, unsigned char)'} [-Werror=enum-int-mismatch] 172 | void dma_prepare(dma_t dma, uint8_t width, const void *src, void *dst, | ^~~~~~~~~~~ In file included from /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/samd5x/include/periph_cpu.h:26, from /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/sam0_common/periph/dma.c:21: /home/marian.buschsieweke@ml-pa.loc/Repos/software/RIOT/master/cpu/sam0_common/include/periph_cpu_common.h:1186:6: note: previous declaration of 'dma_prepare' with type void(dma_t, uint8_t, const void *, void *, size_t, dma_incr_t)' {aka 'void(unsigned int, unsigned char, const void *, void *, unsigned int, dma_incr_t)'} 1186 | void dma_prepare(dma_t dma, uint8_t width, const void *src, void *dst, | ^~~~~~~~~~~ |
||
---|---|---|
.. | ||
adc.c | ||
cpuid.c | ||
dac.c | ||
dma.c | ||
eth.c | ||
flashpage.c | ||
freqm.c | ||
gpio_ll_irq.c | ||
gpio_ll.c | ||
gpio.c | ||
hwrng.c | ||
i2c.c | ||
Kconfig | ||
Kconfig.spi | ||
Makefile | ||
pwm.c | ||
rtc_rtt.c | ||
spi.c | ||
timer.c | ||
uart.c | ||
usbdev.c | ||
wdt.c |