parent
8050dbfa58
commit
2ae184754b
|
@ -538,7 +538,6 @@ static inline void dma_clear_isr_bits(dma_dev *dev, dma_tube tube) {
|
||||||
dev->regs->IFCR = (1U << (4 * (tube - 1)));
|
dev->regs->IFCR = (1U << (4 * (tube - 1)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static inline uint16 dma_get_count(dma_dev *dev, dma_tube tube) {
|
static inline uint16 dma_get_count(dma_dev *dev, dma_tube tube) {
|
||||||
return dma_channel_regs(dev, tube)->CNDTR;
|
return dma_channel_regs(dev, tube)->CNDTR;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue