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:
Peter Barker 2021-11-09 18:33:48 +11:00 committed by Peter Barker
parent b26d8810d4
commit 5e18f98b8e

View File

@ -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();