Skip to content

Commit 3968d53

Browse files
committed
fix bug
1 parent 785de8d commit 3968d53

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pymycobot/common.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,6 @@ def _process_received(self, data, genre, arm=6):
395395
unique_data = [ProtocolCode.GET_BASIC_INPUT, ProtocolCode.GET_DIGITAL_INPUT]
396396
if cmd_id == ProtocolCode.GET_DIGITAL_INPUT and arm == 14:
397397
data_pos = header_i + 4
398-
data_len -= 1
399398
elif cmd_id in unique_data:
400399
if arm == 12:
401400
data_pos = header_i + 6

0 commit comments

Comments
 (0)