mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-02-24 19:29:13 +00:00
support third DMA line.
This commit is contained in:
parent
9d75d6d153
commit
24ffa8cfaf
@ -65,6 +65,14 @@ interrupt(DACDMA_VECTOR) irq_dacdma(void)
|
||||
LPM_AWAKE();
|
||||
}
|
||||
|
||||
if (DMA2CTL & DMAIFG) {
|
||||
DMA2CTL &= ~(DMAIFG | DMAIE);
|
||||
if (subscribers[2] != NULL) {
|
||||
process_post(subscribers[2], dma_event, NULL);
|
||||
}
|
||||
LPM_AWAKE();
|
||||
}
|
||||
|
||||
if (DAC12_0CTL & DAC12IFG) {
|
||||
DAC12_0CTL &= ~(DAC12IFG | DAC12IE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user