Skip to content

Commit 764e59d

Browse files
committed
fix
1 parent 228df1f commit 764e59d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rotools/xsens/core/interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def _get_header(data):
432432
return None
433433
id_str = common.byte_to_str(data[0:6], 6)
434434
sample_counter = common.byte_to_uint32(data[6:10])
435-
datagram_counter = struct.unpack("!B", data[10])
435+
datagram_counter = data[10]
436436
item_number = common.byte_to_uint8(data[11])
437437
time_code = common.byte_to_uint32(data[12:16])
438438
character_id = common.byte_to_uint8(data[16])

0 commit comments

Comments
 (0)