-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #22, correct DayOfWeek to range 1-7
- Loading branch information
Arnd Zanduino
authored and
Arnd Zanduino
committed
Jun 30, 2022
1 parent
bde41ff
commit 3ab37cb
Showing
2 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3ab37cb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear Zanduino,
The line 171 in the file "DS3231M.cpp" should be like following, I think.
return ((day + 5) % 7) + 1; // Jan 1, 2000 is a Saturday, i.e. 6, Issue #22