Skip to content

Offset millis count "_dwTickCount" to desired value for runtime retentation from eeprom #135

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

Closed
OptifySudarshanPatil opened this issue Feb 1, 2022 · 2 comments

Comments

@OptifySudarshanPatil
Copy link

I need to store runtine in eeprom and restore into "millis()" return count.
Is it possible to change value of "_dwTickCount"?_dwTickCount

@OptifySudarshanPatil OptifySudarshanPatil changed the title Offset millis count to desired value for runtime retentation from eeprom Offset millis count "[_dwTickCount](https://github.com/arduino/ArduinoCore-sam/blob/790ff2c852bf159787a9966bddee4d9f55352d15/system/libsam/source/timetick.c#L57)"?_dwTickCount to desired value for runtime retentation from eeprom Feb 1, 2022
@OptifySudarshanPatil OptifySudarshanPatil changed the title Offset millis count "[_dwTickCount](https://github.com/arduino/ArduinoCore-sam/blob/790ff2c852bf159787a9966bddee4d9f55352d15/system/libsam/source/timetick.c#L57)"?_dwTickCount to desired value for runtime retentation from eeprom Offset millis count "_dwTickCount" to desired value for runtime retentation from eeprom Feb 1, 2022
@matthijskooijman
Copy link
Collaborator

See also arduino/ArduinoCore-API#69, which tracks exactly this, but more generically across all cores.

@OptifySudarshanPatil
Copy link
Author

Closing as no real time application.

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

No branches or pull requests

2 participants