From 0fa738e326d9758d541b3868c804d25e283bdae2 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Mon, 2 Mar 2020 21:51:03 -0700 Subject: [PATCH] Fix name mismatch --- Software/python/hwtest.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Software/python/hwtest.py b/Software/python/hwtest.py index 30099fa..3fc8ead 100644 --- a/Software/python/hwtest.py +++ b/Software/python/hwtest.py @@ -160,14 +160,14 @@ def cal_black(attrname=None, old=None, new=None): update_plots() def start_controller(attrname=None, old=None, new=None): - global controller_thread - controller_thread_run = True - controller_thread.start() + global control_thread + control_thread_run = True + control_thread.start() def stop_controller(attrname=None, old=None, new=None): - global controller_thread - controller_thread_run = False - controller_thread.join() + global control_thread + control_thread_run = False + control_thread.join() # GUI elements cal_white_button = Button(label="Cal White")