Updated the sync utilities
This commit is contained in:
2
utils/macmaster.py
Normal file → Executable file
2
utils/macmaster.py
Normal file → Executable file
@ -24,7 +24,7 @@ class MasterMACS():
|
||||
def receive(self):
|
||||
buf = self._socke.recv(35, socket.MSG_WAITALL)
|
||||
if len(buf) < 35:
|
||||
raise EOFException('Master MACS returned only %d bytes, 30 expected' % len(buf))
|
||||
raise EOFException('Master MACS returned only %d bytes, 35 expected' % len(buf))
|
||||
idx = buf.find(0x0D)
|
||||
ackbyte = buf[idx-1]
|
||||
if ackbyte == 0x06:
|
||||
|
Reference in New Issue
Block a user