combine some todos

This commit is contained in:
Bastian Schroll 2018-09-19 14:53:56 +02:00
parent 63117a4bc5
commit d95ab7781e
3 changed files with 2 additions and 5 deletions

View file

@ -91,8 +91,7 @@ try:
bwPacket.addClientData()
bwClient.transmit(str(bwPacket))
# todo should we do this in an thread, to not block receiving ???
# todo but then we should use transmit() and receive() with Lock()
# todo should we do this in an thread, to not block receiving ??? but then we should use transmit() and receive() with Lock()
failedTransmits = 0
while not bwClient.receive() == "[ack]": # wait for ack or timeout
if failedTransmits >= 3: