aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/TIVA/LLD/uDMA/tiva_udma.c
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2016-10-27 22:55:17 +0200
committermarcoveeneman <marco-veeneman@hotmail.com>2016-10-27 22:55:17 +0200
commit223f46589016f2dce6a29cbd00d9020f80d2a556 (patch)
tree66653c078459a091ade80f5a6434cad9ee1c2741 /os/hal/ports/TIVA/LLD/uDMA/tiva_udma.c
parent94fe96d3ae4a8d05b7d752f9ff8e0bd4b3de25d6 (diff)
downloadChibiOS-Contrib-223f46589016f2dce6a29cbd00d9020f80d2a556.tar.gz
ChibiOS-Contrib-223f46589016f2dce6a29cbd00d9020f80d2a556.tar.bz2
ChibiOS-Contrib-223f46589016f2dce6a29cbd00d9020f80d2a556.zip
Replaced custom register bitfield macros by TivaWare bitfield macros.
Diffstat (limited to 'os/hal/ports/TIVA/LLD/uDMA/tiva_udma.c')
-rw-r--r--os/hal/ports/TIVA/LLD/uDMA/tiva_udma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/TIVA/LLD/uDMA/tiva_udma.c b/os/hal/ports/TIVA/LLD/uDMA/tiva_udma.c
index 4d212b7..bb379cb 100644
--- a/os/hal/ports/TIVA/LLD/uDMA/tiva_udma.c
+++ b/os/hal/ports/TIVA/LLD/uDMA/tiva_udma.c
@@ -104,7 +104,7 @@ void udmaInit(void)
nvicEnableVector(TIVA_UDMA_SW_NUMBER, TIVA_UDMA_SW_IRQ_PRIORITY);
/* Enable UDMA controller.*/
- HWREG(UDMA_CFG) = 1;
+ HWREG(UDMA_CFG) = UDMA_CFG_MASTEN;
/* Set address of control table.*/
HWREG(UDMA_CTLBASE) = (uint32_t)udmaControlTable.primary;