aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-02 10:28:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-02 10:28:41 +0000
commit61fda37031e648dcf9650ccec07d01f27b889102 (patch)
tree1e8c04329d998ea4a599bba3bf4ba0f684c92993
parent79410411fcc1fa20b4f3a506455399dc7bfe4987 (diff)
downloadChibiOS-61fda37031e648dcf9650ccec07d01f27b889102.tar.gz
ChibiOS-61fda37031e648dcf9650ccec07d01f27b889102.tar.bz2
ChibiOS-61fda37031e648dcf9650ccec07d01f27b889102.zip
Fixed bug 3602950.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5100 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/STM32F4xx/adc_lld.c2
-rw-r--r--readme.txt5
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).