We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08f6d5d commit d62a7c9Copy full SHA for d62a7c9
libraries/IWatchdog/src/IWatchdog.cpp
@@ -38,7 +38,7 @@ void IWatchdogClass::begin(uint32_t timeout, uint32_t window)
38
}
39
40
// Enable the peripheral clock IWDG
41
-#ifdef RCC_CSR_LSI1ON
+#if defined(RCC_CSR_LSI1ON) || defined(RCC_BDCR1_LSI1ON)
42
LL_RCC_LSI1_Enable();
43
while (LL_RCC_LSI1_IsReady() != 1) {
44
0 commit comments