Skip to content

Commit

Permalink
feat(WBA): add STM32WBAxx support
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Feb 26, 2024
1 parent 4dcfe07 commit d58d0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/low_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ void LowPower_shutdown(bool isRTC)
will make system enter in Stop2 mode. */
LL_C2_PWR_SetPowerMode(LL_PWR_MODE_SHUTDOWN);
#endif
#if defined(PWR_CR1_LPMS)
#if defined(LL_PWR_SHUTDOWN_MODE) || defined(LL_PWR_MODE_SHUTDOWN)
/* LSE must be on to use shutdown mode within RTC else fallback to standby */
if ((!isRTC) || (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == SET)) {
HAL_PWREx_EnterSHUTDOWNMode();
Expand Down

0 comments on commit d58d0cc

Please sign in to comment.