Skip to content
GitLab
Menu
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
c11df776
Commit
c11df776
authored
Jul 17, 2015
by
Don Gagne
Browse files
Off by one fix
parent
d5a21e16
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/PX4/FlightModesComponentController.cc
View file @
c11df776
...
...
@@ -134,7 +134,7 @@ void FlightModesComponentController::_init(void)
_channelListModel
<<
"Disabled"
;
_channelListModelChannel
<<
0
;
for
(
int
channel
=
1
;
channel
<
_channelCount
;
channel
++
)
{
for
(
int
channel
=
1
;
channel
<
=
_channelCount
;
channel
++
)
{
if
(
!
usedChannels
.
contains
(
channel
))
{
_channelListModel
<<
QString
(
"Channel %1"
).
arg
(
channel
);
_channelListModelChannel
<<
channel
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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