aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F4xx/DAC/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F4xx/DAC/mcuconf.h')
-rw-r--r--testhal/STM32/STM32F4xx/DAC/mcuconf.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/testhal/STM32/STM32F4xx/DAC/mcuconf.h b/testhal/STM32/STM32F4xx/DAC/mcuconf.h
index 4aeb855d4..419775ba1 100644
--- a/testhal/STM32/STM32F4xx/DAC/mcuconf.h
+++ b/testhal/STM32/STM32F4xx/DAC/mcuconf.h
@@ -93,15 +93,15 @@
/*
* DAC driver system settings.
*/
-#define STM32_DAC_USE_CHN1 TRUE
-#define STM32_DAC_USE_CHN2 FALSE
-#define STM32_DAC_CHN1_IRQ_PRIORITY 10
-#define STM32_DAC_CHN2_IRQ_PRIORITY 10
-#define STM32_DAC_CHN1_DMA_PRIORITY 2
-#define STM32_DAC_CHN2_DMA_PRIORITY 2
-#define STM32_DAC_DMA_ERROR_HOOK(dacp) osalSysHalt()
-#define STM32_DAC_CHN1_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
-#define STM32_DAC_CHN2_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
+#define STM32_DAC_DUAL_MODE FALSE
+#define STM32_DAC_USE_DAC1_CH1 TRUE
+#define STM32_DAC_USE_DAC1_CH2 TRUE
+#define STM32_DAC1_CH1_IRQ_PRIORITY 10
+#define STM32_DAC1_CH2_IRQ_PRIORITY 10
+#define STM32_DAC1_CH1_DMA_PRIORITY 2
+#define STM32_DAC1_CH2_DMA_PRIORITY 2
+#define STM32_DAC1_CH1_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
+#define STM32_DAC1_CH2_DMA_STREAM STM32_DMA_STREAM_ID(1, 6)
/*
* EXT driver system settings.