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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stm/ao_dma_stm.c b/src/stm/ao_dma_stm.c
index 6d779660..63d6688a 100644
--- a/src/stm/ao_dma_stm.c
+++ b/src/stm/ao_dma_stm.c
@@ -155,7 +155,8 @@ ao_dma_init(void)
for (index = 0; index < STM_NUM_DMA; index++) {
stm_nvic_set_enable(STM_ISR_DMA1_CHANNEL1_POS + index);
- stm_nvic_set_priority(STM_ISR_DMA1_CHANNEL1_POS + index, 4);
+ stm_nvic_set_priority(STM_ISR_DMA1_CHANNEL1_POS + index,
+ AO_STM_NVIC_MED_PRIORITY);
ao_dma_allocated[index] = 0;
ao_dma_mutex[index] = 0;
}