Commit c547d10a authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Using lambda to signal alignment startup after configured delay

parent 7ae00e2e
......@@ -2911,7 +2911,8 @@ void Capture::processTelescopeNumber(INumberVectorProperty *nvp)
emit newStatus(Ekos::CAPTURE_ALIGNING);
meridianFlipStage = MF_ALIGNING;
emit meridialFlipTracked();
QTimer::singleShot(Options::settlingTime(), [this]() {emit meridialFlipTracked();});
//emit meridialFlipTracked();
return;
}
......@@ -3038,6 +3039,7 @@ void Capture::checkMeridianFlipTimeout()
else
{
appendLogText(i18n("Alignment timed out."));
alignmentEngaged=false;
abort();
}
......@@ -3052,6 +3054,7 @@ void Capture::checkMeridianFlipTimeout()
else
{
appendLogText(i18n("Guiding timed out."));
guidingEngaged = false;
abort();
}
}
......
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