Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
anla-xu committed Nov 9, 2023
1 parent 23da600 commit d47a7e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLog for pymycobot

## v3.2.9 (2023-11-9)

- release v3.2.9
- fix bug

## v3.2.8 (2023-11-9)

- release v3.2.8
Expand Down
2 changes: 1 addition & 1 deletion pymycobot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
from pymycobot.mybuddyemoticon import MyBuddyEmoticon
__all__.append("MyBuddyEmoticon")

__version__ = "3.2.8"
__version__ = "3.2.9"
__author__ = "Elephantrobotics"
__email__ = "[email protected]"
__git_url__ = "https://github.com/elephantrobotics/pymycobot"
Expand Down
2 changes: 2 additions & 0 deletions pymycobot/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ def crc_check(cls, command):
crc ^= 0xA001
else:
crc >>= 1
if crc > 0x7FFF:
return struct.pack(">H", crc)
return cls._encode_int16(_, crc)
# def encode_int16(self, data):
# encoded_data = []
Expand Down

0 comments on commit d47a7e5

Please sign in to comment.