residual name that didn't get changed

This commit is contained in:
Brendan Haines 2020-03-02 19:48:15 -07:00
parent 51927d38b9
commit 8924319a01

View File

@ -106,7 +106,7 @@ def control_thread():
while True:
# TODO: replace sleep statement with something that doesn't depend on execution time of loop
time.sleep(sample_interval)
if len(time) == 0:
if len(t) == 0:
this_time = 0
else:
this_time = t[-1] + sample_interval