Browse Source

Merge branch 'Stable_V3.5' of https://github.com/mavlink/qgroundcontrol into StableMerge

QGC4.4
Don Gagne 6 years ago
parent
commit
d955b7dc52
  1. 2
      .appveyor.yml
  2. 2
      src/comm/LinkManager.cc

2
.appveyor.yml

@ -61,7 +61,7 @@ for: @@ -61,7 +61,7 @@ for:
-
branches:
only:
- Stable_V3.4
- Stable_V3.5
artifacts:
- path: QGroundControl-installer.exe
name: qgcinstaller

2
src/comm/LinkManager.cc

@ -994,7 +994,7 @@ void LinkManager::startAutoConnectedLinks(void) @@ -994,7 +994,7 @@ void LinkManager::startAutoConnectedLinks(void)
int LinkManager::_reserveMavlinkChannel(void)
{
// Find a mavlink channel to use for this link, Channel 0 is reserved for internal use.
for (uint8_t mavlinkChannel = 1; mavlinkChannel < 32; mavlinkChannel++) {
for (uint8_t mavlinkChannel = 1; mavlinkChannel < MAVLINK_COMM_NUM_BUFFERS; mavlinkChannel++) {
if (!(_mavlinkChannelsUsedBitMask & 1 << mavlinkChannel)) {
mavlink_reset_channel_status(mavlinkChannel);
// Start the channel on Mav 1 protocol

Loading…
Cancel
Save