Browse Source

Merge pull request #7234 from DonLakeFlyer/StableMerge

Stable merge
QGC4.4
Don Gagne 6 years ago committed by GitHub
parent
commit
3d09d44545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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