aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32L1xx
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-12-26 09:54:11 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-12-26 09:54:11 +0000
commita00002ab53dc2e566b74fbe1b607a37e7e95a419 (patch)
tree949074edafbc880ed78f71d8c636b76f02848380 /testhal/STM32/STM32L1xx
parent70aee6011b8f5fc985140464623019f6d57af540 (diff)
downloadChibiOS-a00002ab53dc2e566b74fbe1b607a37e7e95a419.tar.gz
ChibiOS-a00002ab53dc2e566b74fbe1b607a37e7e95a419.tar.bz2
ChibiOS-a00002ab53dc2e566b74fbe1b607a37e7e95a419.zip
Fixed Bug #803
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9987 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32L1xx')
-rw-r--r--testhal/STM32/STM32L1xx/DAC/main.c3
1 files changed, 2 insertions, 1 deletions
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 = {