diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/stm/ao_arch_funcs.h | 3 | ||||
-rw-r--r-- | src/stm/ao_dma_stm.c | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/stm/ao_arch_funcs.h b/src/stm/ao_arch_funcs.h index 33359857..25b43587 100644 --- a/src/stm/ao_arch_funcs.h +++ b/src/stm/ao_arch_funcs.h @@ -250,9 +250,6 @@ void ao_dma_done_transfer(uint8_t index); void -ao_dma_abort(uint8_t index); - -void ao_dma_alloc(uint8_t index); void diff --git a/src/stm/ao_dma_stm.c b/src/stm/ao_dma_stm.c index 8379a1a5..298a15b5 100644 --- a/src/stm/ao_dma_stm.c +++ b/src/stm/ao_dma_stm.c @@ -106,13 +106,6 @@ ao_dma_done_transfer(uint8_t 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) { if (ao_dma_allocated[index]) |