Skip to content

Commit 571aa67

Browse files
committed
fix bug
1 parent f4eef40 commit 571aa67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymycobot/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1174,7 +1174,7 @@ def set_gripper_protect_current(self, current):
11741174
"""
11751175
self.calibration_parameters(class_name = self.__class__.__name__, current=current)
11761176

1177-
return self._mesg(ProtocolCode.SetGripperProtectCurrent, current)
1177+
return self._mesg(ProtocolCode.SetGripperProtectCurrent, [current])
11781178

11791179
def set_four_pieces_zero(self):
11801180
"""Set the zero position of the four-piece motor

0 commit comments

Comments
 (0)