Skip to content

Ensure RTC clock scaling is set to 1Hz #350

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
Dec 14, 2016

Conversation

bigdinotech
Copy link
Contributor

-needed to make sure that the RTC scaling is consitent with the factory
firmware and CODK-M based firmware

@bigdinotech
Copy link
Contributor Author

@eriknyquist @SidLeung ready for review



//set RTC clock divider to 32768
*SYS_CLK_CTL |= 0x00000078;
Copy link
Contributor

Choose a reason for hiding this comment

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

Use some #defines with human-readable names, please. I'd rather not have to look up the hardware
spec in order to learn what each line is doing. Same goes for all the magic numbers here.

-needed to make sure that the RTC scaling is consitent with the factory
firmware and CODK-M based firmware
@bigdinotech
Copy link
Contributor Author

requested changes made
@eriknyquist @SidLeung pls review

@bigdinotech
Copy link
Contributor Author

@calvinatintel please merge the Jenkins merger seems to be failing

@eriknyquist eriknyquist merged commit 16227f5 into arduino:master Dec 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants