Skip to content

Conversation

@avnc
Copy link

@avnc avnc commented Sep 21, 2024

The FIXED_TIME_ON_tm_mday variable was not initialized before it is compared the first time, this results in the code failing with an exception. Initialized it to the init value used for the RTC. Maybe another approach here would be better but this seems to work well (it does mean the first night's drift correction will not occur).

@avnc
Copy link
Author

avnc commented Sep 21, 2024

Another minor fix for you to review @RCS101

@avnc
Copy link
Author

avnc commented Sep 21, 2024

Fixes issue #2

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