Skip to content

Commit

Permalink
Fix code formatting in eeprom.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kliment authored Apr 26, 2024
1 parent f29592e commit 772e69b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/technical-reference/eeprom.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ The header is 32 bytes long and contains the following values:
3. when all 30 bytes have been processed, store the result in the checksum position

An example implementation of the checksum algorithm in Python:
```Python

```Python
def calc_checksum(header): #header assumed to be of type bytes
value=0x55
for b in header[1:]:
Expand Down

0 comments on commit 772e69b

Please sign in to comment.