Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rumpelsepp committed Jul 8, 2024
1 parent 4ec30e5 commit f6da340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gallia/transports/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async def write(
if len(data) > vector_ctypes.XL_FR_MAX_DATA_LENGTH:
raise ValueError("frame exceeds max data length")

event.tagData.frTxFrame.data = ctypes.create_string_buffer(data, len(data))
event.tagData.frTxFrame.data = ctypes.create_string_buffer(data, 254)

print("writing")
await asyncio.to_thread(
Expand Down

0 comments on commit f6da340

Please sign in to comment.