cc253x: fix dma interrupt enable flag

This commit is contained in:
Philippe Rétornaz 2012-08-03 17:04:11 +02:00 committed by George Oikonomou
parent c6ec22c4c8
commit 48d99f15c8

View file

@ -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;
}