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 2d11284 commit 9acf6f7Copy full SHA for 9acf6f7
src/rtc.c
@@ -56,7 +56,7 @@ extern "C" {
56
/* Private define ------------------------------------------------------------*/
57
/* Private macro -------------------------------------------------------------*/
58
/* Private variables ---------------------------------------------------------*/
59
-static RTC_HandleTypeDef RtcHandle = {0};
+static RTC_HandleTypeDef RtcHandle = {.Instance = RTC};
60
static voidCallbackPtr RTCUserCallback = NULL;
61
static void *callbackUserData = NULL;
62
#ifdef RTC_ALARM_B
0 commit comments