From a00002ab53dc2e566b74fbe1b607a37e7e95a419 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Mon, 26 Dec 2016 09:54:11 +0000 Subject: Fixed Bug #803 git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9987 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F4xx/DAC_DUAL/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testhal/STM32/STM32F4xx/DAC_DUAL/main.c') 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 = { -- cgit v1.2.3