Skip to content
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

stm32: RTC fix DoW range off-by-one error #2125

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

MabezDev
Copy link
Contributor

Unsure if this is true for other chips, but for the stm32f2 RTC, the weekday units field is between 0b001 and 0b111.

Always fun to find a bug that only happens on a Sunday 🙃.

@lucasgranberg
Copy link
Contributor

Nice catch. Same on stm32wl
image

Copy link
Member

@Dirbaio Dirbaio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that RM has a bug... Monday is the forbidden day of the week 💀

jk. LGTM, thank you!

@Dirbaio Dirbaio added this pull request to the merge queue Oct 30, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 30, 2023
@Dirbaio Dirbaio added this pull request to the merge queue Oct 30, 2023
Merged via the queue into embassy-rs:main with commit e07e790 Oct 30, 2023
3 checks passed
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.

3 participants