1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-19 04:52:12 +01:00

LP-385 - Fix manual trigger

This commit is contained in:
Alessio Morale 2016-08-29 19:58:39 +02:00
parent 7ed8e63689
commit 8114d7771e

View File

@ -141,7 +141,8 @@ static void CameraControlTask()
if (checkActivation()) {
if (ccd->manualInput != ccd->lastManualInput && ccd->manualInput != CAMERASTATUS_Idle) {
// Manual override
ccd->outputStatus = ccd->manualInput;
trigger = true;
ccd->outputStatus = ccd->manualInput;
ccd->activity.Reason = CAMERACONTROLACTIVITY_REASON_MANUAL;
} else {
if (ccd->autoTriggerEnabled) {
@ -264,7 +265,6 @@ static void UpdateOutput()
}
}
ccd->lastOutputStatus = ccd->outputStatus;
}
static void PublishActivity()