emfcamp / badge-2024-documentation

Tildagon badge documentation website
https://tildagon.badge.emfcamp.org/
21 stars 38 forks source link

Correct checksum calculation in eeprom example #254

Closed sciguy16 closed 3 months ago

sciguy16 commented 3 months ago

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 commented 3 months ago

Oops! Thank you for spotting that!