From 48d99f15c8b71dcd4359c7391b415b4266de02ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20R=C3=A9tornaz?= Date: Fri, 3 Aug 2012 17:04:11 +0200 Subject: [PATCH] cc253x: fix dma interrupt enable flag --- cpu/cc253x/dev/dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/cc253x/dev/dma.c b/cpu/cc253x/dev/dma.c index 7b0b57034..8d07e83cf 100644 --- a/cpu/cc253x/dev/dma.c +++ b/cpu/cc253x/dev/dma.c @@ -46,7 +46,7 @@ dma_init(void) DMA1CFGL = tmp_ptr; #endif - IEN1_DMAIE = 1; /* Enable DMA interrupts */ + DMAIE = 1; /* Enable DMA interrupts */ } /*---------------------------------------------------------------------------*/ /* @@ -62,7 +62,7 @@ dma_associate_process(struct process * p, uint8_t c) if(p) { dma_conf[c].inc_prio |= 8; /* Enable interrupt generation */ - IEN1_DMAIE = 1; /* Make sure DMA interrupts are acknowledged */ + DMAIE = 1; /* Make sure DMA interrupts are acknowledged */ } dma_callback[c] = p; }