diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2010-04-11 15:32:07 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2010-04-11 15:32:07 +0000 |
commit | 982187cdd7f3956b45ec4d16f25e6e15bd0a2113 (patch) | |
tree | b2c4a958b3d0cd9f8a7cb3944db111487021cedd /nuttx/arch/arm/src/sam3u | |
parent | 99985cd97b1bdbfe3326023351181c2d562fa324 (diff) |
Add MCI CD GPIO
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2585 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/sam3u')
-rwxr-xr-x | nuttx/arch/arm/src/sam3u/sam3u_dmac.c | 4 |
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 510ac7e8a3..2084fc6786 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. |