From 263c5350bad4f14b67cc1cacec8f853dcbbe9010 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 2 May 2015 20:32:03 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7939 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/DACv1/dac_lld.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'os') diff --git a/os/hal/ports/STM32/LLD/DACv1/dac_lld.c b/os/hal/ports/STM32/LLD/DACv1/dac_lld.c index 99ed45ef2..07902f06a 100644 --- a/os/hal/ports/STM32/LLD/DACv1/dac_lld.c +++ b/os/hal/ports/STM32/LLD/DACv1/dac_lld.c @@ -81,10 +81,6 @@ DACDriver DACD4; /* Driver local variables. */ /*===========================================================================*/ -static const DACConfig default_config = { - datamode: DAC_DHRM_12BIT_RIGHT -}; - #if STM32_DAC_USE_DAC1_CH1 == TRUE static const dacparams_t dma1_ch1_params = { dac: DAC1, @@ -223,12 +219,6 @@ void dac_lld_init(void) { void dac_lld_start(DACDriver *dacp) { bool b; - /* If the application does not provide a configuration structure then a - default is used.*/ - if (dacp->config == NULL) { - dacp->config = &default_config; - } - /* If the driver is in DAC_STOP state then a full initialization is required.*/ if (dacp->state == DAC_STOP) { -- cgit v1.2.3