Skip to content

Commit 0e5b535

Browse files
committed
fix bug
1 parent 652c69c commit 0e5b535

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# ChangeLog for pymycobot
22

3-
## v3.2.5 (2023-11-1)
3+
## v3.2.5 (2023-11-3)
4+
5+
- release v3.2.6
6+
- fix bug
7+
8+
## v3.2.5 (2023-11-3)
49

510
- release v3.2.5
611
- ultraArm angle limit update

pymycobot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
from pymycobot.mybuddyemoticon import MyBuddyEmoticon
5353
__all__.append("MyBuddyEmoticon")
5454

55-
__version__ = "3.2.5"
55+
__version__ = "3.2.6"
5656
__author__ = "Elephantrobotics"
5757
__email__ = "weiquan.xu@elephantrobotics.com"
5858
__git_url__ = "https://github.com/elephantrobotics/pymycobot"

pymycobot/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def _encode_int16(self, data):
237237
if isinstance(data, int):
238238
return [
239239
ord(i) if isinstance(i, str) else i
240-
for i in list(struct.pack(">H", data))
240+
for i in list(struct.pack(">h", data))
241241
]
242242
else:
243243
res = []

0 commit comments

Comments
 (0)