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:
fxcoder 2023-07-09 12:14:50 +00:00
parent ded3c6089f
commit 51588d23a2
1 changed files with 1 additions and 1 deletions

View File

@ -776,7 +776,7 @@ void dac_lld_start_conversion(DACDriver *dacp) {
/* DAC configuration. Mask out DMA and calibration.*/
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
/* Start the DMA on the single channel.*/
cr &= dacp->params->regmask;