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 2ccc178 commit 82267c2Copy full SHA for 82267c2
src/rtc.c
@@ -63,8 +63,9 @@ static void *callbackUserData = NULL;
63
static voidCallbackPtr RTCUserCallbackB = NULL;
64
static void *callbackUserDataB = NULL;
65
#endif
66
+#ifdef ONESECOND_IRQn
67
static voidCallbackPtr RTCSecondsIrqCallback = NULL;
-
68
+#endif
69
static sourceClock_t clkSrc = LSI_CLOCK;
70
static uint32_t clkVal = LSI_VALUE;
71
static uint8_t HSEDiv = 0;
@@ -645,7 +646,9 @@ void RTC_DeInit(bool reset_cb)
645
646
RTCUserCallbackB = NULL;
647
callbackUserDataB = NULL;
648
649
650
RTCSecondsIrqCallback = NULL;
651
652
}
653
654
0 commit comments