From 78884cef1697d950609bea3e7282567af515b719 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 11 Oct 2012 20:56:13 -0700 Subject: [PATCH] Changed GPDMA_CHANNELx #defines to use correct ("GPDMA_BASE") value as peripheral base address. --- include/libopencm3/lpc43xx/gpdma.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/libopencm3/lpc43xx/gpdma.h b/include/libopencm3/lpc43xx/gpdma.h index 23f2d77a..942db9c2 100644 --- a/include/libopencm3/lpc43xx/gpdma.h +++ b/include/libopencm3/lpc43xx/gpdma.h @@ -42,14 +42,14 @@ LGPL License Terms @ref lgpl_license /* --- Convenience macros -------------------------------------------------- */ /* GPDMA channel base addresses */ -#define GPDMA_CHANNEL0 (GPDMA_PORT_BASE + 0x100) -#define GPDMA_CHANNEL1 (GPDMA_PORT_BASE + 0x120) -#define GPDMA_CHANNEL2 (GPDMA_PORT_BASE + 0x140) -#define GPDMA_CHANNEL3 (GPDMA_PORT_BASE + 0x160) -#define GPDMA_CHANNEL4 (GPDMA_PORT_BASE + 0x180) -#define GPDMA_CHANNEL5 (GPDMA_PORT_BASE + 0x1A0) -#define GPDMA_CHANNEL6 (GPDMA_PORT_BASE + 0x1C0) -#define GPDMA_CHANNEL7 (GPDMA_PORT_BASE + 0x1E0) +#define GPDMA_CHANNEL0 (GPDMA_BASE + 0x100) +#define GPDMA_CHANNEL1 (GPDMA_BASE + 0x120) +#define GPDMA_CHANNEL2 (GPDMA_BASE + 0x140) +#define GPDMA_CHANNEL3 (GPDMA_BASE + 0x160) +#define GPDMA_CHANNEL4 (GPDMA_BASE + 0x180) +#define GPDMA_CHANNEL5 (GPDMA_BASE + 0x1A0) +#define GPDMA_CHANNEL6 (GPDMA_BASE + 0x1C0) +#define GPDMA_CHANNEL7 (GPDMA_BASE + 0x1E0) /* --- GPDMA registers ----------------------------------------------------- */