aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorisiora <none@example.com>2017-11-14 20:30:29 +0000
committerisiora <none@example.com>2017-11-14 20:30:29 +0000
commit7b3fe37b28fd37d80de146de6f34665168323c83 (patch)
tree4f5fc9c90abbc84e3086f722310a0374641fb79f /os
parent060f9c5954480b82f7e82782e8abe5026d73a317 (diff)
downloadChibiOS-7b3fe37b28fd37d80de146de6f34665168323c83.tar.gz
ChibiOS-7b3fe37b28fd37d80de146de6f34665168323c83.tar.bz2
ChibiOS-7b3fe37b28fd37d80de146de6f34665168323c83.zip
Fixed SAMA_DMA_FREE assert.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11004 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
index d7d888fb7..64adc7289 100644
--- a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
+++ b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c
@@ -321,7 +321,7 @@ void dmaChannelRelease(sama_dma_channel_t *dmachp) {
osalDbgCheck(dmachp != NULL);
uint8_t id;
/* Check if the channel is free.*/
- osalDbgAssert(dmachp->state != SAMA_DMA_NOT_FREE,
+ osalDbgAssert(dmachp->state != SAMA_DMA_FREE,
"not allocated");
id = dmaGetControllerId(dmachp->xdmac);
/* Disables the associated IRQ vector.*/