fixed offset in berry driver for new msg format

This commit is contained in:
joBr99
2022-03-12 16:54:05 +01:00
parent e5d913de70
commit f19cf5f324
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