diff options
-rw-r--r-- | os/hal/platforms/STM32F4xx/adc_lld.c | 2 | ||||
-rw-r--r-- | readme.txt | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32F4xx/adc_lld.c b/os/hal/platforms/STM32F4xx/adc_lld.c index fef357c3b..1398ea4f3 100644 --- a/os/hal/platforms/STM32F4xx/adc_lld.c +++ b/os/hal/platforms/STM32F4xx/adc_lld.c @@ -399,6 +399,7 @@ void adcSTM32DisableTSVREFE(void) { * @brief Enables the VBATE bit.
* @details The VBATE bit is required in order to sample the VBAT channel.
* @note This is an STM32-only functionality.
+ * @note This function is meant to be called after @p adcStart().
*/
void adcSTM32EnableVBATE(void) {
@@ -409,6 +410,7 @@ void adcSTM32EnableVBATE(void) { * @brief Disables the VBATE bit.
* @details The VBATE bit is required in order to sample the VBAT channel.
* @note This is an STM32-only functionality.
+ * @note This function is meant to be called after @p adcStart().
*/
void adcSTM32DisableVBATE(void) {
diff --git a/readme.txt b/readme.txt index fc5e8d493..a1d689092 100644 --- a/readme.txt +++ b/readme.txt @@ -82,7 +82,10 @@ *****************************************************************************
*** 2.5.2 ***
-- FIX: Fixed duplicated code in hal_lld.h (STM32F4xx) (bug 3602544).
+- FIX: Fixed adcSTM32EnableTSVREFE must be called AFTER adcStart (bug
+ 3602950).
+- FIX: Fixed duplicated code in hal_lld.h (STM32F4xx) (bug 3602544)
+ (backported to 2.4.4).
- FIX: Fixed #define typo in usb_lld.h (OTGv1) (bug 3602306).
- FIX: Fixed STM32F0 RCC enable/disable/reset functions for CRC and WWDG
(bug 3602150).
|