projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos/stm: remove ao_dma_abort
[fw/altos]
/
src
/
stm
/
ao_dma_stm.c
diff --git
a/src/stm/ao_dma_stm.c
b/src/stm/ao_dma_stm.c
index 8379a1a533ca0ec5e19321910b1a9975a952f744..298a15b5ce58bdd4d67fbe69293c96d22e4dcbc3 100644
(file)
--- a/
src/stm/ao_dma_stm.c
+++ b/
src/stm/ao_dma_stm.c
@@
-105,13
+105,6
@@
ao_dma_done_transfer(uint8_t index)
ao_mutex_put(&ao_dma_mutex[index]);
}
-void
-ao_dma_abort(uint8_t index)
-{
- stm_dma.channel[index].ccr &= ~(1 << STM_DMA_CCR_EN);
- ao_wakeup(&ao_dma_done[index]);
-}
-
void
ao_dma_alloc(uint8_t index)
{