git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3510 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2011-11-19 09:37:41 +00:00
parent b1762e9295
commit ba01ba301e
1 changed files with 2 additions and 1 deletions

View File

@ -266,7 +266,8 @@ void adc_lld_start(ADCDriver *adcp) {
}
#endif /* STM32_ADC_USE_ADC3 */
/* ADC initial setup, starting the analog part.*/
/* ADC initial setup, starting the analog part here in order to reduce
the latency when starting a conversion.*/
adcp->adc->CR1 = 0;
adcp->adc->CR2 = ADC_CR2_ADON;
}