Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
c1b7e860
Commit
c1b7e860
authored
Aug 22, 2017
by
Don Gagne
Browse files
Fix de-dup
parent
c8416a22
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/MissionManager/MissionManager.cc
View file @
c1b7e860
...
...
@@ -1076,12 +1076,13 @@ void MissionManager::generateResumeMission(int resumeIndex)
foundCameraStartStop
=
true
;
break
;
case
MAV_CMD_IMAGE_START_CAPTURE
:
// Only keep the first of these commands that are found
if
(
foundCameraStartStop
)
{
if
(
resumeItem
->
param3
()
!=
0
)
{
// Remove commands which do not trigger by time
resumeMission
.
removeAt
(
prefixCommandCount
);
break
;
}
if
(
resumeItem
->
param3
()
!=
0
)
{
//
Remove commands which do no trigger by time
if
(
foundCameraStartStop
)
{
//
Only keep the first of these commands that are found
resumeMission
.
removeAt
(
prefixCommandCount
);
}
foundCameraStartStop
=
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment