From 8114d7771ebfdd452a29d23742f52e7abdf02cf4 Mon Sep 17 00:00:00 2001 From: Alessio Morale Date: Mon, 29 Aug 2016 19:58:39 +0200 Subject: [PATCH] LP-385 - Fix manual trigger --- flight/modules/CameraControl/cameracontrol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/modules/CameraControl/cameracontrol.c b/flight/modules/CameraControl/cameracontrol.c index 592af55ff..41ff0d958 100644 --- a/flight/modules/CameraControl/cameracontrol.c +++ b/flight/modules/CameraControl/cameracontrol.c @@ -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()