From 93baafe2e631849f61e8e73752c2b51cefa44578 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 2 Apr 2013 13:15:45 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5532 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.h b/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.h index 2f4c99d82..06ec99eef 100644 --- a/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.h +++ b/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.h @@ -659,7 +659,7 @@ typedef struct { * * @api */ -#define edmaGetTCD(channel) ((edma_tcd_t *)&EDMA.TCD[channel]) +#define edmaGetTCD(channel) ((edma_tcd_t *)&SPC5_EDMA.TCD[channel]) /** * @brief Sets the word 0 fields into a TCD. @@ -764,7 +764,7 @@ typedef struct { * * @api */ -#define edmaChannelStart(channel) (EDMA.SERQR.R = (channel)) +#define edmaChannelStart(channel) (SPC5_EDMA.SERQR.R = (channel)) /** * @brief Stops an EDMA channel. @@ -774,8 +774,8 @@ typedef struct { * @api */ #define edmaChannelStop(channel) { \ - EDMA.CERQR.R = (channel); \ - EDMA.CDSBR.R = (channel); \ + SPC5_EDMA.CERQR.R = (channel); \ + SPC5_EDMA.CDSBR.R = (channel); \ } /**