Fix formatting

This commit is contained in:
askiiart 2022-11-16 14:16:58 +00:00
parent 3a28472640
commit 900f3a9226

View file

@ -26,7 +26,6 @@ try:
link.open() link.open()
time.sleep(2) time.sleep(2)
while True: while True:
time.sleep(1) time.sleep(1)
gpus = GPUtil.getGPUs() gpus = GPUtil.getGPUs()
@ -70,7 +69,8 @@ try:
print('Error: {}'.format(link.status)) print('Error: {}'.format(link.status))
# Parse response from Arduino # 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 # Evaluate for comm. errors
if speed != rec_int: if speed != rec_int: