diff options
Diffstat (limited to 'testhal/STM32/STM32F4xx/DAC/main.c')
-rw-r--r-- | testhal/STM32/STM32F4xx/DAC/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F4xx/DAC/main.c b/testhal/STM32/STM32F4xx/DAC/main.c index 469132559..e57d8a3f2 100644 --- a/testhal/STM32/STM32F4xx/DAC/main.c +++ b/testhal/STM32/STM32F4xx/DAC/main.c @@ -88,6 +88,7 @@ static void error_cb1(DACDriver *dacp, dacerror_t err) { }
static const DACConfig dac1cfg1 = {
+ init: 2047U,
datamode: DAC_DHRM_12BIT_RIGHT
};
|