/* RTC MSP Initialization This function configures the hardware resources used in this example.  */
void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc)
/* RTC MSP Initialization This function configures the hardware resources used in this example.  */
void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc)
{
  GPIO_InitTypeDef GPIO_InitStruct = {0};
  if(hrtc->Instance==RTC)
  {
    __HAL_RCC_RTC_ENABLE();
    __HAL_RCC_GPIOC_CLK_ENABLE();
    HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
  }
}