Skip to content

Commit 46e3eb5

Browse files
committed
fix bug
1 parent 4859539 commit 46e3eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymycobot/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ def _process_received(self, data, genre, arm=6):
361361
for i in valid_data:
362362
res.append(i)
363363
return res
364-
if data_len in [6, 8, 12, 14, 24, 26, 60]:
364+
if data_len in [6, 8, 12, 14, 16, 24, 26, 60]:
365365
for header_i in range(0, len(valid_data), 2):
366366
one = valid_data[header_i : header_i + 2]
367367
res.append(self._decode_int16(one))

0 commit comments

Comments
 (0)