Commit 5befb466 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Check if temp diff is within limit on startup

parent 5726adf0
......@@ -131,7 +131,7 @@ void SequenceJob::prepareCapture()
}
if (enforceTemperature && targetTemperature != currentTemperature)
if (enforceTemperature && fabs(targetTemperature - currentTemperature) > Options::maxTemperatureDiff())
{
temperatureReady = false;
activeCCD->setTemperature(targetTemperature);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment