summaryrefslogtreecommitdiff
path: root/src/stm/ao_dma_stm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm/ao_dma_stm.c')
-rw-r--r--src/stm/ao_dma_stm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stm/ao_dma_stm.c b/src/stm/ao_dma_stm.c
index 21390748..e76c8e8c 100644
--- a/src/stm/ao_dma_stm.c
+++ b/src/stm/ao_dma_stm.c
@@ -109,6 +109,7 @@ void
ao_dma_abort(uint8_t index)
{
stm_dma.channel[index].ccr &= ~(1 << STM_DMA_CCR_EN);
+ ao_wakeup(&ao_dma_done[index]);
}
void