camera_trigger : do not log test shots from GCS

This commit is contained in:
Mohammed Kabir
2017-05-02 21:16:51 +02:00
committed by Lorenz Meier
parent 2e92a3946d
commit b665737aca

View File

@@ -721,6 +721,11 @@ CameraTrigger::engage(void *arg)
// Trigger the camera
trig->_camera_interface->trigger(true);
if (trig->_test_shot) {
// do not send messages or increment frame count for test shots
return;
}
// Send camera trigger message. This messages indicates that we sent
// the camera trigger request. Does not guarantee capture.