drivers: hci: stm32_ipm: disable proper LSI
LSI1 is used for RTC, LTC2 for RF. Disable LSI2 instead of LSI1 on BLE with LSE start Signed-off-by: Pavlo Hamov <pavlo_hamov@jabil.com>
This commit is contained in:
parent
535bfeb784
commit
3674d3343f
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ static void start_ble_rf(void)
|
||||||
LL_RCC_SetRTCClockSource(LL_RCC_RTC_CLKSOURCE_LSE);
|
LL_RCC_SetRTCClockSource(LL_RCC_RTC_CLKSOURCE_LSE);
|
||||||
|
|
||||||
/* Switch OFF LSI */
|
/* Switch OFF LSI */
|
||||||
LL_RCC_LSI1_Disable();
|
LL_RCC_LSI2_Disable();
|
||||||
#else
|
#else
|
||||||
LL_RCC_LSI2_Enable();
|
LL_RCC_LSI2_Enable();
|
||||||
while (!LL_RCC_LSI2_IsReady()) {
|
while (!LL_RCC_LSI2_IsReady()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue