Skip to content

Fix week day issue #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2018
Merged

Fix week day issue #10

merged 1 commit into from
Aug 13, 2018

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Aug 13, 2018

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 the tm_wday value.

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.

struct tm:
    tm_wday
    The number of days since Sunday, in the range 0 to 6.

Other days are aligned to the tm_wday value.

Fix stm32duino#9

Signed-off-by: Frederic.Pillon <frederic.pillon@st.com>
@fpistm fpistm mentioned this pull request Aug 13, 2018
@fpistm fpistm merged commit b232d34 into stm32duino:master Aug 13, 2018
@fpistm fpistm deleted the DOW_Issue branch August 13, 2018 11:54
@fpistm fpistm added this to the 1.02/1.1.0 milestone Sep 20, 2018
@fpistm fpistm self-assigned this Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant