made echo test more stable
parent
3bb0408ee6
commit
08eec16960
|
@ -14,9 +14,9 @@ def heartbeat_thread(p):
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
p.send_heartbeat()
|
p.send_heartbeat()
|
||||||
time.sleep(1)
|
time.sleep(0.5)
|
||||||
except Exception:
|
except Exception:
|
||||||
break
|
continue
|
||||||
|
|
||||||
# Resend every CAN message that has been received on the same bus, but with the data reversed
|
# Resend every CAN message that has been received on the same bus, but with the data reversed
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue