diff options
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32/STM32F3xx/DAC/main.c | 3 | ||||
-rw-r--r-- | testhal/STM32/STM32F4xx/DAC/main.c | 3 | ||||
-rw-r--r-- | testhal/STM32/STM32F4xx/DAC_DUAL/main.c | 3 | ||||
-rw-r--r-- | testhal/STM32/STM32L1xx/DAC/main.c | 3 |
4 files changed, 8 insertions, 4 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 = {
diff --git a/testhal/STM32/STM32F4xx/DAC/main.c b/testhal/STM32/STM32F4xx/DAC/main.c index aafe85828..9a72ba0e0 100644 --- a/testhal/STM32/STM32F4xx/DAC/main.c +++ b/testhal/STM32/STM32F4xx/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 = {
diff --git a/testhal/STM32/STM32F4xx/DAC_DUAL/main.c b/testhal/STM32/STM32F4xx/DAC_DUAL/main.c index fd9e1b536..7ce676bf2 100644 --- a/testhal/STM32/STM32F4xx/DAC_DUAL/main.c +++ b/testhal/STM32/STM32F4xx/DAC_DUAL/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_DUAL
+ .datamode = DAC_DHRM_12BIT_RIGHT_DUAL,
+ .cr = 0
};
static const DACConversionGroup dacgrpcfg1 = {
diff --git a/testhal/STM32/STM32L1xx/DAC/main.c b/testhal/STM32/STM32L1xx/DAC/main.c index f5d2041d0..fe4420a02 100644 --- a/testhal/STM32/STM32L1xx/DAC/main.c +++ b/testhal/STM32/STM32L1xx/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 = {
|