From 8924319a014946d431aa90acc9b9c01a47d1dc22 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Mon, 2 Mar 2020 19:48:15 -0700 Subject: [PATCH] residual name that didn't get changed --- Software/python/hwtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/python/hwtest.py b/Software/python/hwtest.py index 91b5a97..03d0ab4 100644 --- a/Software/python/hwtest.py +++ b/Software/python/hwtest.py @@ -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