summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-13 20:00:49 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-13 20:00:49 (GMT)
commit5befb46689c29d685b23c9e2813a641bc440f595 (patch)
treeecac222870f78a68b34fe3894d7b3c0f6c923d41
parent5726adf01b09cbc8e65080a080ca0588305f83a4 (diff)
Check if temp diff is within limit on startup
-rw-r--r--kstars/ekos/sequencejob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kstars/ekos/sequencejob.cpp b/kstars/ekos/sequencejob.cpp
index bb85393..e1420f6 100644
--- a/kstars/ekos/sequencejob.cpp
+++ b/kstars/ekos/sequencejob.cpp
@@ -131,7 +131,7 @@ void SequenceJob::prepareCapture()
}
- if (enforceTemperature && targetTemperature != currentTemperature)
+ if (enforceTemperature && fabs(targetTemperature - currentTemperature) > Options::maxTemperatureDiff())
{
temperatureReady = false;
activeCCD->setTemperature(targetTemperature);