AP_SerialManager: Fix FrSky baudrate comment

This commit is contained in:
mirkix 2016-04-08 21:31:13 +02:00 committed by Randy Mackay
parent fe2065cd72
commit 0366bce9c1
1 changed files with 2 additions and 2 deletions

View File

@ -145,14 +145,14 @@ void AP_SerialManager::init()
AP_SERIALMANAGER_MAVLINK_BUFSIZE_TX);
break;
case SerialProtocol_FRSky_DPort:
// Note baudrate is hardcoded to 57600
// Note baudrate is hardcoded to 9600
state[i].baud = AP_SERIALMANAGER_FRSKY_DPORT_BAUD/1000; // update baud param in case user looks at it
state[i].uart->begin(AP_SERIALMANAGER_FRSKY_DPORT_BAUD,
AP_SERIALMANAGER_FRSKY_BUFSIZE_RX,
AP_SERIALMANAGER_FRSKY_BUFSIZE_TX);
break;
case SerialProtocol_FRSky_SPort:
// Note baudrate is hardcoded to 9600
// Note baudrate is hardcoded to 57600
state[i].baud = AP_SERIALMANAGER_FRSKY_SPORT_BAUD/1000; // update baud param in case user looks at it
// begin is handled by AP_Frsky_telem library
break;