mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_SerialManager: added a new MSP DisplayPort serial backend
This commit is contained in:
parent
7f6fbe72e6
commit
c1e50dc676
@ -524,6 +524,7 @@ void AP_SerialManager::init()
|
||||
#if HAL_MSP_ENABLED
|
||||
case SerialProtocol_MSP:
|
||||
case SerialProtocol_DJI_FPV:
|
||||
case SerialProtocol_MSP_DisplayPort:
|
||||
// baudrate defaults to 115200
|
||||
state[i].baud.set_default(AP_SERIALMANAGER_MSP_BAUD/1000);
|
||||
uart->begin(map_baudrate(state[i].baud),
|
||||
|
@ -155,6 +155,7 @@ public:
|
||||
SerialProtocol_Torqeedo = 39,
|
||||
SerialProtocol_AIS = 40,
|
||||
SerialProtocol_CoDevESC = 41,
|
||||
SerialProtocol_MSP_DisplayPort = 42,
|
||||
SerialProtocol_NumProtocols // must be the last value
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user