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

Weekday changes after deviceStart causing alarm to not work #69

Closed
woutervdhof opened this issue May 17, 2024 · 1 comment
Closed

Weekday changes after deviceStart causing alarm to not work #69

woutervdhof opened this issue May 17, 2024 · 1 comment
Assignees
Labels

Comments

@woutervdhof
Copy link
Contributor

Expected Behavior

Actual Behavior

When the date and time is set using the Adjust() function, the weekday in the registry is sometimes not correct afterwards. For me this is mainly a problem because it causes the alarm to not work when using alarmType=0x7.

Steps to Reproduce the Problem

The problem only occurs in some chips. It seems some batches are more affected then others. This makes reproduction somewhat tricky. For issue 4 what I had to do to reproduce was:

  • Stop the oscillator
  • Set the day of the week to 4 or 5
  • Start the oscillator
  • Read the day of the week
  • The day of the week has changed

Specifications

  • Library Version: Current master
  • IDE Version:
  • Platform: esp-idf
  • Subsystem:
  • any other details needed to reproduce the problem
@SV-Zanshin
Copy link
Collaborator

Resolved with the pull request containing suggested fixes by @woutervdhof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants