fix a bug or two

This commit is contained in:
Andrew Malota
2017-11-30 18:58:47 -06:00
parent 87778d8c2b
commit e95a61fe3e
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class Oven (threading.Thread):
STATE_IDLE = "IDLE"
STATE_RUNNING = "RUNNING"
def __init__(self, simulate=False, time_step=0.5):
def __init__(self, simulate=False, time_step=config.sensor_time_wait):
threading.Thread.__init__(self)
self.daemon = True
self.simulate = simulate