aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/dma.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/dma.h')
-rw-r--r--libmaple/dma.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmaple/dma.h b/libmaple/dma.h
index 339b826..8a6ca34 100644
--- a/libmaple/dma.h
+++ b/libmaple/dma.h
@@ -61,7 +61,8 @@ typedef enum dma_mode_flags {
DMA_CIRC_MODE = 1,
} dma_mode_flags;
-void dma_init(uint8 channel, volatile void *peripheral, bool from_peripheral, dma_mode_flags mode);
+void dma_init(uint8 channel, volatile void *peripheral, int from_peripheral,
+ dma_mode_flags mode);
void dma_start(uint8 channel, volatile void *buffer, uint16 count);
#ifdef __cplusplus