Closed fpistm closed 6 years ago
RTC_WEEKDAY_SUNDAY definition in STM32F1 HAL is 0 while 7 for other series.
struct tm: tm_wday The number of days since Sunday, in the range 0 to 6.
Other days are aligned to thetm_wday value.
tm_wday
Fix #9
Signed-off-by: Frederic.Pillon frederic.pillon@st.com
RTC_WEEKDAY_SUNDAY definition in STM32F1 HAL is 0 while 7 for other series.
Other days are aligned to the
tm_wday
value.Fix #9
Signed-off-by: Frederic.Pillon frederic.pillon@st.com