aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/dma.c')
-rw-r--r--libmaple/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/dma.c b/libmaple/dma.c
index 1de9b60..15c96e1 100644
--- a/libmaple/dma.c
+++ b/libmaple/dma.c
@@ -64,7 +64,7 @@ static dma_regs *dma_get_regs(uint8 channel) {
if (channel >= 1 && channel <= 7) {
return (dma_regs *)(DMA1_CCR1 + DMA_CHANNEL_STRIDE * (channel-1));
} else {
- ASSERT(false);
+ ASSERT(0);
return NULL;
}
}