summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-11 15:32:07 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-04-11 15:32:07 +0000
commit9f4e907eee7044467ff13b28230355ed7d85d195 (patch)
treeb2c4a958b3d0cd9f8a7cb3944db111487021cedd /nuttx/arch/arm
parent1ca794f2728207ce1320b07ed063aa54d2055dc7 (diff)
downloadpx4-nuttx-9f4e907eee7044467ff13b28230355ed7d85d195.tar.gz
px4-nuttx-9f4e907eee7044467ff13b28230355ed7d85d195.tar.bz2
px4-nuttx-9f4e907eee7044467ff13b28230355ed7d85d195.zip
Add MCI CD GPIO
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2585 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm')
-rwxr-xr-xnuttx/arch/arm/src/sam3u/sam3u_dmac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/sam3u/sam3u_dmac.c b/nuttx/arch/arm/src/sam3u/sam3u_dmac.c
index 510ac7e8a..2084fc678 100755
--- a/nuttx/arch/arm/src/sam3u/sam3u_dmac.c
+++ b/nuttx/arch/arm/src/sam3u/sam3u_dmac.c
@@ -447,7 +447,7 @@ static inline uint32_t sam3u_rxctrlabits(struct sam3u_dma_s *dmach)
uint32_t regval;
unsigned int ndx;
- DEBUGASSERT(dmach && dmasize <= DMACHAN_CTRLA_BTSIZE_MAX);
+ DEBUGASSERT(dmach);
/* Since this is a receive, the source is described by the peripheral
* selections. Set the source width (peripheral width).
@@ -748,7 +748,7 @@ sam3u_allocdesc(struct sam3u_dma_s *dmach, struct dma_linklist_s *prev,
}
else
{
- DEBUGASSERT(dmach->llhead != NULL && dmach->tail == prev);
+ DEBUGASSERT(dmach->llhead != NULL && dmach->lltail == prev);
/* When the second link is added to the list, that is the
* cue that we are going to do the link list transfer.