Skip to content

Commit 83fca60

Browse files
authored
Merge pull request #11454 from Tharazi97/LSI_VALUE_STM
ST: Change the LSI_VALUE according to documentation
2 parents eed80f9 + 48040cf commit 83fca60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_hal_conf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ extern "C" {
114114
* @brief Internal Low Speed oscillator (LSI) value.
115115
*/
116116
#if !defined (LSI_VALUE)
117-
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz */
117+
#define LSI_VALUE 40000U /*!< LSI Typical Value in Hz */
118118
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
119119
The real value may vary depending on the variations
120120
in voltage and temperature. */

targets/TARGET_STM/TARGET_STM32F1/device/stm32f1xx_ll_rcc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ typedef struct
120120
#endif /* LSE_VALUE */
121121

122122
#if !defined (LSI_VALUE)
123-
#define LSI_VALUE 32000U /*!< Value of the LSI oscillator in Hz */
123+
#define LSI_VALUE 40000U /*!< Value of the LSI oscillator in Hz */
124124
#endif /* LSI_VALUE */
125125
/**
126126
* @}

0 commit comments

Comments
 (0)