mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 03:49:52 +03:00
Compilation fix
This commit is contained in:
parent
3a7e006635
commit
42a59dca35
5 changed files with 10 additions and 10 deletions
|
@ -10,7 +10,7 @@ import struct
|
|||
|
||||
|
||||
START_STOP = '\x7e'
|
||||
BYTESTUFF = '\x7d'
|
||||
BYTE_STUFF = '\x7d'
|
||||
STUFF_MASK = '\x20'
|
||||
|
||||
DATA_FRAME = 0x10
|
||||
|
@ -110,7 +110,7 @@ def ParsePacket(packet):
|
|||
global lineNumber
|
||||
# unstuff packet
|
||||
while True:
|
||||
pos = packet.find(BYTESTUFF)
|
||||
pos = packet.find(BYTE_STUFF)
|
||||
if pos == -1:
|
||||
break
|
||||
# print "found stuff at %d in %s" % (pos, dump(packet, 20))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue