Question
Is this a correct code modification?
// stm32f1xx_hal_rtc.c line 827
sTime->Seconds = (uint8_t)((counter_time % 3600U) % 60U);
// to this
sTime->Seconds = (uint8_t)(counter_time % 60U);
// stm32f1xx_hal_rtc.c line 827
sTime->Seconds = (uint8_t)((counter_time % 3600U) % 60U);
// to this
sTime->Seconds = (uint8_t)(counter_time % 60U);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.