mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_RCProtocol: number all of the RC Protocols supported
Needed this as soon as we got the RC_PROTOCOL bitmask
This commit is contained in:
parent
b26d8810d4
commit
5e18f98b8e
@ -30,18 +30,18 @@ public:
|
||||
friend class AP_RCProtocol_Backend;
|
||||
|
||||
enum rcprotocol_t {
|
||||
PPM = 0,
|
||||
IBUS,
|
||||
SBUS,
|
||||
SBUS_NI,
|
||||
DSM,
|
||||
SUMD,
|
||||
SRXL,
|
||||
SRXL2,
|
||||
CRSF,
|
||||
ST24,
|
||||
FPORT,
|
||||
FPORT2,
|
||||
PPM = 0,
|
||||
IBUS = 1,
|
||||
SBUS = 2,
|
||||
SBUS_NI = 3,
|
||||
DSM = 4,
|
||||
SUMD = 5,
|
||||
SRXL = 6,
|
||||
SRXL2 = 7,
|
||||
CRSF = 8,
|
||||
ST24 = 9,
|
||||
FPORT = 10,
|
||||
FPORT2 = 11,
|
||||
NONE //last enum always is None
|
||||
};
|
||||
void init();
|
||||
|
Loading…
Reference in New Issue
Block a user