aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F3xx/DAC
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F3xx/DAC')
-rw-r--r--testhal/STM32/STM32F3xx/DAC/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F3xx/DAC/main.c b/testhal/STM32/STM32F3xx/DAC/main.c
index 4df3980fa..d7ccfc4af 100644
--- a/testhal/STM32/STM32F3xx/DAC/main.c
+++ b/testhal/STM32/STM32F3xx/DAC/main.c
@@ -89,7 +89,8 @@ static void error_cb1(DACDriver *dacp, dacerror_t err) {
static const DACConfig dac1cfg1 = {
.init = 2047U,
- .datamode = DAC_DHRM_12BIT_RIGHT
+ .datamode = DAC_DHRM_12BIT_RIGHT,
+ .cr = 0
};
static const DACConversionGroup dacgrpcfg1 = {