cc253x: fix dma interrupt enable flag
This commit is contained in:
parent
c6ec22c4c8
commit
48d99f15c8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue