fixed offset in berry driver for new msg format

This commit is contained in:
Johannes Braun
2022-03-12 16:54:05 +01:00
parent 49c5877458
commit 2ee67c5a69
2 changed files with 7 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ header = binascii.unhexlify('55BB')
print("length:", len(value))
length = len(value).to_bytes(1, 'little')
length = len(value).to_bytes(2, 'little')
bytes_payload = header + length + payload