From 08eec1696080adb6bd3954ab183a2536699a90d4 Mon Sep 17 00:00:00 2001 From: Robbe Derks Date: Wed, 10 Mar 2021 16:56:09 +0100 Subject: [PATCH] made echo test more stable --- tests/echo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/echo.py b/tests/echo.py index f89c5da..2eeb6fc 100755 --- a/tests/echo.py +++ b/tests/echo.py @@ -14,9 +14,9 @@ def heartbeat_thread(p): while True: try: p.send_heartbeat() - time.sleep(1) + time.sleep(0.5) except Exception: - break + continue # Resend every CAN message that has been received on the same bus, but with the data reversed if __name__ == "__main__":