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 31b0a02 commit 678bf71Copy full SHA for 678bf71
libraries/IWatchdog/src/IWatchdog.cpp
@@ -182,6 +182,8 @@ bool IWatchdogClass::isReset(bool clear)
182
bool status = LL_RCC_IsActiveFlag_IWDG1RST();
183
#elif defined(STM32WB0x)
184
bool status = LL_RCC_IsActiveFlag_WDGRST();
185
+#elif defined(STM32WL3x)
186
+ bool status = ((RAM_VR.ResetReason & RCC_FLAG_WDGRST) == RCC_FLAG_WDGRST);
187
#else
188
bool status = LL_RCC_IsActiveFlag_IWDGRST();
189
#endif
0 commit comments