We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 755552b commit 5f41d15Copy full SHA for 5f41d15
src/low_power.c
@@ -548,7 +548,7 @@ void LowPower_shutdown()
548
__HAL_PWR_CLEAR_FLAG(PWR_MPUCR_CSSF);
549
#endif
550
551
-#if defined(PWR_CR1_LPMS)
+#if defined(PWR_LOWPOWERMODE_SHUTDOWN) || defined(PWR_CR1_LPMS_SHUTDOWN) || defined(LL_PWR_SHUTDOWN_MODE)
552
/* LSE must be on to use shutdown mode */
553
if (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == SET) {
554
HAL_PWREx_EnterSHUTDOWNMode();
0 commit comments