SerialManager: support for 4th mavlink channel

This commit is contained in:
Randy Mackay 2015-05-02 21:38:26 +09:00
parent 62e7e8cc7d
commit facbfaf31f

View File

@ -228,6 +228,10 @@ bool AP_SerialManager::get_mavlink_channel(enum SerialProtocol protocol, uint8_t
mav_chan = MAVLINK_COMM_2;
return true;
}
if (instance == 2) {
mav_chan = MAVLINK_COMM_3;
return true;
}
}
// report failure