AP_SerialManager: fixed find_baudrate to return mapped baudrate

This commit is contained in:
Andrew Tridgell 2018-07-09 15:16:07 +10:00 committed by Peter Barker
parent bf901aff49
commit 5929b5fc33
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ uint32_t AP_SerialManager::find_baudrate(enum SerialProtocol protocol, uint8_t i
if (_state == nullptr) {
return 0;
}
return _state->baud;
return map_baudrate(_state->baud);
}
// get_mavlink_channel - provides the mavlink channel associated with a given protocol