Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
platini2 authored Feb 5, 2021
1 parent 96b794e commit feb13d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions celestron.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
__copyright__ = "Copyright 2020, Patricio Latini"
__credits__ = "Patricio Latini"
__license__ = "GPLv3"
__version__ = "0.7.2"
__version__ = "0.7.3"
__maintainer__ = "Patricio Latini"
__email__ = "[email protected]"
__status__ = "Production"
Expand Down Expand Up @@ -294,8 +294,8 @@ def processmsgqueue():
if msgqueue[0:2] == str(hex(preamble2))[2:]:
length = int(msgqueue[6:10],16)
if len(msgqueue)>=(2*(length+8)):
decodemsg3c(msgqueue[0:2*(length+8)])
msgqueue=msgqueue[2*(length+8):]
decodemsg3c(msgqueue[0:2*(length+6)])
msgqueue=msgqueue[2*(length+6):]
else:
emptyqueue=1

Expand Down

0 comments on commit feb13d1

Please sign in to comment.