Commit 42ef244a authored by Jasem Mutlaq's avatar Jasem Mutlaq

Capture should also abort on guide abort not just IDLE state

parent a5ebe584
......@@ -3362,6 +3362,7 @@ void Capture::setGuideStatus(GuideState state)
{
case GUIDE_IDLE:
case GUIDE_ABORTED:
// If Autoguiding was started before and now stopped, let's abort (unless we're doing a meridian flip)
if (guideState == GUIDE_GUIDING && meridianFlipStage == MF_NONE && activeJob && activeJob->getStatus() == SequenceJob::JOB_BUSY)
{
......@@ -3381,7 +3382,6 @@ void Capture::setGuideStatus(GuideState state)
break;
case GUIDE_CALIBRATION_ERROR:
case GUIDE_ABORTED:
// TODO try restarting calibration a couple of times before giving up
if (meridianFlipStage == MF_GUIDING)
{
......
Markdown is supported
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