git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@9445 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Rocco Marco Guglielmi 2016-05-07 09:47:38 +00:00
parent 1c856ed25a
commit e2233c64f9
2 changed files with 4 additions and 2 deletions

View File

@ -869,7 +869,7 @@ void adc_lld_stop_conversion(ADCDriver *adcp) {
*/ */
void adcSTM32EnableVREF(ADCDriver *adcp) { void adcSTM32EnableVREF(ADCDriver *adcp) {
adcp->adcc->CCR |= ADC_CCR_VBATEN; adcp->adcc->CCR |= ADC_CCR_VREFEN;
} }
/** /**
@ -884,7 +884,7 @@ void adcSTM32EnableVREF(ADCDriver *adcp) {
*/ */
void adcSTM32DisableVREF(ADCDriver *adcp) { void adcSTM32DisableVREF(ADCDriver *adcp) {
adcp->adcc->CCR &= ~ADC_CCR_VBATEN; adcp->adcc->CCR &= ~ADC_CCR_VREFEN;
} }
/** /**

View File

@ -73,6 +73,8 @@
***************************************************************************** *****************************************************************************
*** 16.1.5 *** *** 16.1.5 ***
- HAL: Fixed bug in VREF enable/disable functions in ADCv3 driver
(bug #740).
- HAL: Fixed DAC driver not enabled for STM32F4x7 and STM32F4x9 devices - HAL: Fixed DAC driver not enabled for STM32F4x7 and STM32F4x9 devices
(bug #739). (bug #739).
- HAL: Fixed bug in interrupt handlers in STM32F4xx EXT driver (bug #738). - HAL: Fixed bug in interrupt handlers in STM32F4xx EXT driver (bug #738).