From 900f3a9226b63d53e55e79051244adde54fabc13 Mon Sep 17 00:00:00 2001 From: askiiart <90910526+askiiart@users.noreply.github.com> Date: Wed, 16 Nov 2022 14:16:58 +0000 Subject: [PATCH] Fix formatting --- Python/tx_loop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Python/tx_loop.py b/Python/tx_loop.py index fcd5517..1cd5931 100644 --- a/Python/tx_loop.py +++ b/Python/tx_loop.py @@ -26,7 +26,6 @@ try: link.open() time.sleep(2) - while True: time.sleep(1) gpus = GPUtil.getGPUs() @@ -70,7 +69,8 @@ try: print('Error: {}'.format(link.status)) # Parse response from Arduino - rec_int = link.rx_obj(obj_type=int, obj_byte_size=int_size, start_pos=(send_size - int_size)) + rec_int = link.rx_obj( + obj_type=int, obj_byte_size=int_size, start_pos=(send_size - int_size)) # Evaluate for comm. errors if speed != rec_int: