Skip to content

Commit da124bf

Browse files
authored
Update eeprom.md
mkdocs does not like indentation for code blocks
1 parent df115c2 commit da124bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/technical-reference/eeprom.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The header is 32 bytes long and contains the following values:
4141

4242
An example implementation of the checksum algorithm in Python:
4343

44-
```Python
44+
```python
4545

4646
def calc_checksum(header): #header assumed to be of type bytes
4747
value=0x55
@@ -53,7 +53,7 @@ The header is 32 bytes long and contains the following values:
5353

5454
calc_checksum(header_w_checksum) # should return 0 if checksum is correct
5555

56-
```
56+
```
5757

5858
The header format uses little-endian byte ordering for the individual values, e.g. 0x0123 = 0x01 as least significant byte and 0x23 as most significant byte, resulting in a value of 8961
5959

0 commit comments

Comments
 (0)