Skip to content

Commit 1faff22

Browse files
committed
system(WB): update stm32wbxx_hal_conf_default.h
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 1869835 commit 1faff22

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: system/STM32WBxx/stm32wbxx_hal_conf_default.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,11 @@ extern "C" {
151151
* This value is used by the UART, RTC HAL module to compute the system frequency
152152
*/
153153
#if !defined (LSE_VALUE)
154-
#define LSE_VALUE (32768UL) /*!< Value of the External oscillator in Hz*/
154+
#if defined(STM32WB5Mxx)
155+
#define LSE_VALUE (32774UL) /*!< Value of the LSE oscillator in Hz */
156+
#else
157+
#define LSE_VALUE (32768UL) /*!< Value of the LSE oscillator in Hz */
158+
#endif /* STM32WB5Mxx */
155159
#endif /* LSE_VALUE */
156160

157161
/**

0 commit comments

Comments
 (0)