Fixed SAMA_DMA_FREE assert.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11004 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
isiora 2017-11-14 20:30:29 +00:00
parent 060f9c5954
commit 7b3fe37b28
1 changed files with 1 additions and 1 deletions

View File

@ -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.*/