Fixed the last fix :)
This commit is contained in:
parent
d6b948e0d1
commit
8aec3d5078
@ -773,7 +773,7 @@ class IPSC(DatagramProtocol):
|
|||||||
# When we hear from the master, record it's ID, flag that we're connected, and reset the dead counter.
|
# When we hear from the master, record it's ID, flag that we're connected, and reset the dead counter.
|
||||||
elif _packettype == MASTER_REG_REPLY:
|
elif _packettype == MASTER_REG_REPLY:
|
||||||
|
|
||||||
_hex_mode = (data[10:11])
|
_hex_mode = (data[5])
|
||||||
_mode = int(h(_hex_mode), 16)
|
_mode = int(h(_hex_mode), 16)
|
||||||
# mask individual Mode parameters
|
# mask individual Mode parameters
|
||||||
_link_op = _mode & PEER_OP_MSK
|
_link_op = _mode & PEER_OP_MSK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user