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

Correct eeprom restore issues. #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vthoang
Copy link

@vthoang vthoang commented Oct 18, 2018

Option --restore fails different detection.
"new" is overwritten by ee_encode (old's values) right after loading from file.
Moved ee_encode into else scope.

Factory configuration location 0x80 thru 0x9f of eeprom does not change on write.
This causes an invalid crc value when loading eeprom from a different device.
Account for difference and recompute crc.

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