From 809e0154e21e370070ee918fccf9459095b0b0e0 Mon Sep 17 00:00:00 2001 From: Simon Larsson Date: Sun, 5 Jul 2020 09:15:53 +0200 Subject: [PATCH] Adapt test to new blaster code --- pytimex_test.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pytimex_test.py b/pytimex_test.py index fb46b97..ac46c54 100644 --- a/pytimex_test.py +++ b/pytimex_test.py @@ -40,7 +40,7 @@ print(listhex(data)) print("") # Initialize blaster -b = pytimex.Blaster("/dev/ttyACM0", syncbuflen=16) +b = pytimex.Blaster("/dev/ttyACM0") if not b.identify(): print("Could not verify adapter :(") @@ -55,10 +55,5 @@ b.send_sync() for databyte in data: b.blast(databyte) -print("Synchronizing...") - -# Flush and wait for all bytes to sync -b.flush() - print("Done!")