Skip to content

Commit 1335d1b

Browse files
committed
chore(wl3): add IWDG support
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 29dd099 commit 1335d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/IWatchdog/src/IWatchdog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ bool IWatchdogClass::isReset(bool clear)
180180
{
181181
#if defined(IWDG1)
182182
bool status = LL_RCC_IsActiveFlag_IWDG1RST();
183-
#elif defined(STM32WB0x)
183+
#elif defined(STM32WB0x) || defined(STM32WL3x)
184184
bool status = LL_RCC_IsActiveFlag_WDGRST();
185185
#else
186186
bool status = LL_RCC_IsActiveFlag_IWDGRST();

0 commit comments

Comments
 (0)