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 checksum calculation in eeprom example #254

Merged
merged 2 commits into from
Jul 13, 2024

Conversation

sciguy16
Copy link
Contributor

Description

The serialised eeprom header in the example includes an erroneous backslash that resulted in the example checksum being incorrect. Removing the extra backslash gives a checksum value of 0xeb rather than 0x8b.

I've also swapped the endianness of the FS parameters in the explanation to be consistent with standard big-endian 0x representation and the explanations for the other fields - it wasn't obvious why my code was calculating a different checksum value and this inconsistency was a contributing factor.

@kliment
Copy link
Contributor

kliment commented Jul 13, 2024

Oops! Thank you for spotting that!

@kliment kliment merged commit 45f5941 into emfcamp:main Jul 13, 2024
3 checks passed
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.

2 participants