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
97ee6ce7
Commit
97ee6ce7
authored
Dec 28, 2015
by
Don Gagne
Browse files
Fix incorrect channel count
parent
ed5015eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Vehicle/Vehicle.cc
View file @
97ee6ce7
...
...
@@ -375,7 +375,7 @@ void Vehicle::_handleRCChannelsRaw(mavlink_message_t& message)
if
(
channelValue
==
UINT16_MAX
)
{
pwmValues
[
i
]
=
-
1
;
}
else
{
channelCount
=
i
;
channelCount
=
i
+
1
;
pwmValues
[
i
]
=
channelValue
;
}
}
...
...
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