mirror of https://github.com/ArduPilot/ardupilot
AP_SerialManager: allow for EFI serial option for non-MS protocols
This commit is contained in:
parent
cff3794d25
commit
367503be91
|
@ -547,8 +547,8 @@ void AP_SerialManager::init()
|
|||
break;
|
||||
#endif
|
||||
|
||||
case SerialProtocol_EFI_MS:
|
||||
state[i].baud = AP_SERIALMANAGER_EFI_MS_BAUD; // update baud param in case user looks at it
|
||||
case SerialProtocol_EFI:
|
||||
state[i].baud.set_default(AP_SERIALMANAGER_EFI_MS_BAUD);
|
||||
uart->begin(map_baudrate(state[i].baud),
|
||||
AP_SERIALMANAGER_EFI_MS_BUFSIZE_RX,
|
||||
AP_SERIALMANAGER_EFI_MS_BUFSIZE_TX);
|
||||
|
|
|
@ -137,7 +137,7 @@ public:
|
|||
SerialProtocol_WindVane = 21,
|
||||
SerialProtocol_SLCAN = 22,
|
||||
SerialProtocol_RCIN = 23,
|
||||
SerialProtocol_EFI_MS = 24, // MegaSquirt EFI serial protocol
|
||||
SerialProtocol_EFI = 24, // EFI serial protocol
|
||||
SerialProtocol_LTM_Telem = 25,
|
||||
SerialProtocol_RunCam = 26,
|
||||
SerialProtocol_Hott = 27,
|
||||
|
|
Loading…
Reference in New Issue