Fix formatting
This commit is contained in:
parent
3a28472640
commit
900f3a9226
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue