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
12a4359d
Commit
12a4359d
authored
Jul 09, 2017
by
Lorenz Meier
Browse files
Shorten the set mode retries to get feedback to the user faster
parent
19bffaa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FirmwarePlugin/FirmwarePlugin.cc
View file @
12a4359d
...
...
@@ -485,7 +485,7 @@ bool FirmwarePlugin::_setFlightModeAndValidate(Vehicle* vehicle, const QString&
vehicle
->
setFlightMode
(
flightMode
);
// Wait for vehicle to return flight mode
for
(
int
i
=
0
;
i
<
22
;
i
++
)
{
for
(
int
i
=
0
;
i
<
13
;
i
++
)
{
if
(
vehicle
->
flightMode
()
==
flightMode
)
{
flightModeChanged
=
true
;
break
;
...
...
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