fix state name

This commit is contained in:
Andrew de Quincey 2021-05-01 10:35:14 +01:00
parent 1b14b9d14d
commit 0fadd97d67

View File

@ -60,9 +60,9 @@ def tune(csvfile, targettemp):
if temp > targettemp:
if not config.simulate:
oven.output.heat(0)
stage = 'decaying'
stage = 'cooling'
elif stage == 'decaying':
elif stage == 'cooling':
if temp < targettemp:
break