Fixed bug #903.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10977 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
84683817cd
commit
8f814aba60
|
@ -395,7 +395,7 @@ void adcSTM32DisableTS(void) {
|
||||||
ADC->CCR &= ~ADC_CCR_TSEN;
|
ADC->CCR &= ~ADC_CCR_TSEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef STM32F0XX
|
#if defined(ADC_CCR_VBATEN) || defined(__DOXYGEN__)
|
||||||
/**
|
/**
|
||||||
* @brief Enables the VBATEN bit.
|
* @brief Enables the VBATEN bit.
|
||||||
* @details The VBATEN bit is required in order to sample the VBAT channel.
|
* @details The VBATEN bit is required in order to sample the VBAT channel.
|
||||||
|
@ -425,7 +425,7 @@ void adcSTM32DisableVBAT(void) {
|
||||||
|
|
||||||
ADC->CCR &= ~ADC_CCR_VBATEN;
|
ADC->CCR &= ~ADC_CCR_VBATEN;
|
||||||
}
|
}
|
||||||
#endif /* STM32F0XX */
|
#endif /* defined(ADC_CCR_VBATEN) */
|
||||||
|
|
||||||
#endif /* HAL_USE_ADC */
|
#endif /* HAL_USE_ADC */
|
||||||
|
|
||||||
|
|
|
@ -434,10 +434,10 @@ extern "C" {
|
||||||
void adcSTM32DisableVREF(void);
|
void adcSTM32DisableVREF(void);
|
||||||
void adcSTM32EnableTS(void);
|
void adcSTM32EnableTS(void);
|
||||||
void adcSTM32DisableTS(void);
|
void adcSTM32DisableTS(void);
|
||||||
#ifdef STM32F0XX
|
#if defined(ADC_CCR_VBATEN)
|
||||||
void adcSTM32EnableVBAT(void);
|
void adcSTM32EnableVBAT(void);
|
||||||
void adcSTM32DisableVBAT(void);
|
void adcSTM32DisableVBAT(void);
|
||||||
#endif /* STM32F0XX */
|
#endif
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -152,6 +152,7 @@
|
||||||
dependencies and configuration directories. This makes possible
|
dependencies and configuration directories. This makes possible
|
||||||
to have multiple non-conflicting makefiles in the same project.
|
to have multiple non-conflicting makefiles in the same project.
|
||||||
Updated the various platform.mk implementing "smart build" mode.
|
Updated the various platform.mk implementing "smart build" mode.
|
||||||
|
- HAL: Fixed ADC does not build on STM32F030 (bug #903)(backported to 17.6.4).
|
||||||
- LIB: Fixed typo for function evtStop (bug #897)(backported to 17.6.4
|
- LIB: Fixed typo for function evtStop (bug #897)(backported to 17.6.4
|
||||||
and 16.1.10).
|
and 16.1.10).
|
||||||
- NIL: Fixed core and Heap allocators not functional in NIL (bug #902)
|
- NIL: Fixed core and Heap allocators not functional in NIL (bug #902)
|
||||||
|
|
Loading…
Reference in New Issue