From 557c6e812ab37b88d9a23affaf1c247d9ba12783 Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Fri, 27 Dec 2019 13:52:48 -0800 Subject: [PATCH] Fix MAV_CMD_IMAGE_START_CAPTURE usage --- src/MissionManager/CameraSection.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/MissionManager/CameraSection.cc b/src/MissionManager/CameraSection.cc index 55c6bc05d..9d871ffcd 100644 --- a/src/MissionManager/CameraSection.cc +++ b/src/MissionManager/CameraSection.cc @@ -200,12 +200,13 @@ void CameraSection::appendSectionItems(QList& items, QObject* miss item = new MissionItem(nextSequenceNumber++, MAV_CMD_IMAGE_START_CAPTURE, MAV_FRAME_MISSION, - 0, // Reserved (Set to 0) - 0, // Interval (none) - 1, // Take 1 photo - qQNaN(), qQNaN(), qQNaN(), qQNaN(), // reserved - true, // autoContinue - false, // isCurrentItem + 0, // Reserved (Set to 0) + 0, // Interval (none) + 1, // Take 1 photo + 0, // No sequence number specified + qQNaN(), qQNaN(), qQNaN(), // reserved + true, // autoContinue + false, // isCurrentItem missionItemParent); break; } -- 2.22.0