summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-06-28 17:11:38 -0700
committerKeith Packard <keithp@keithp.com>2016-06-29 19:17:45 -0700
commit0dec7d0885970a7d73468dd77220bae78e161b40 (patch)
tree1c580bf0e536dcac4d0b9a7ebf6afcbc8d9a1b50
parent974aaf73cbb720f1b1183cc239001528b6c7a5b9 (diff)
altos/stm: remove ao_dma_abort
This function isn't used anywhere. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--src/stm/ao_arch_funcs.h3
-rw-r--r--src/stm/ao_dma_stm.c7
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])