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:
parent
7ed8e63689
commit
8114d7771e
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user