git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9444 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
Rocco Marco Guglielmi 2016-05-07 09:46:19 +00:00
parent 3c2cfeeab1
commit 3936e7a7f1
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) {
adcp->adcc->CCR |= ADC_CCR_VBATEN;
adcp->adcc->CCR |= ADC_CCR_VREFEN;
}
/**
@ -884,7 +884,7 @@ void adcSTM32EnableVREF(ADCDriver *adcp) {
*/
void adcSTM32DisableVREF(ADCDriver *adcp) {
adcp->adcc->CCR &= ~ADC_CCR_VBATEN;
adcp->adcc->CCR &= ~ADC_CCR_VREFEN;
}
/**

View File

@ -111,6 +111,8 @@
- RT: Merged RT4.
- NIL: Merged NIL2.
- NIL: Added STM32F7 demo.
- HAL: Fixed bug in VREF enable/disable functions in ADCv3 driver
(bug #740)(backported to 16.1.5).
- HAL: Fixed DAC driver not enabled for STM32F4x7 and STM32F4x9 devices
(bug #739)(backported to 3.0.6 and 16.1.5).
- HAL: Fixed bug in interrupt handlers in STM32F4xx EXT driver (bug #738)