diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-28 14:12:55 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-05-28 14:12:55 +0000 |
commit | e9edd478029209ba06f09a380590e4ae3e844985 (patch) | |
tree | a001f2ebec06ee259d7ff436b092c6cd4f92e326 /os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c | |
parent | 036f60f497d109038765567bad5b9dbe503e8326 (diff) | |
download | ChibiOS-e9edd478029209ba06f09a380590e4ae3e844985.tar.gz ChibiOS-e9edd478029209ba06f09a380590e4ae3e844985.tar.bz2 ChibiOS-e9edd478029209ba06f09a380590e4ae3e844985.zip |
SPC5xx DSPI driver working on SPC563Mxx.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5766 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c')
-rw-r--r-- | os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c b/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c index 4504afd68..a0538ca78 100644 --- a/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c +++ b/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.c @@ -1345,7 +1345,7 @@ edma_channel_t edmaChannelAllocate(const edma_channel_config_t *ccfg) { */
void edmaChannelRelease(edma_channel_t channel) {
- chDbgCheck((channel < 0) && (channel >= SPC5_EDMA_NCHANNELS),
+ chDbgCheck((channel >= 0) && (channel < SPC5_EDMA_NCHANNELS),
"edmaChannelAllocate");
chDbgAssert(channels[channel] != NULL,
"edmaChannelRelease(), #1",
|