Remove bit masking DAC CR1
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16320 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
ded3c6089f
commit
51588d23a2
|
@ -776,7 +776,7 @@ void dac_lld_start_conversion(DACDriver *dacp) {
|
||||||
|
|
||||||
/* DAC configuration. Mask out DMA and calibration.*/
|
/* DAC configuration. Mask out DMA and calibration.*/
|
||||||
cr = dacp->params->dac->CR;
|
cr = dacp->params->dac->CR;
|
||||||
cr &= ~(DAC_CR_CEN1 | DAC_CR_CEN2 | DAC_CR_DMAEN2);
|
// cr &= ~(DAC_CR_CEN1 | DAC_CR_CEN2 | DAC_CR_DMAEN2);
|
||||||
#if STM32_DAC_DUAL_MODE == FALSE
|
#if STM32_DAC_DUAL_MODE == FALSE
|
||||||
/* Start the DMA on the single channel.*/
|
/* Start the DMA on the single channel.*/
|
||||||
cr &= dacp->params->regmask;
|
cr &= dacp->params->regmask;
|
||||||
|
|
Loading…
Reference in New Issue