1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00

Add human readable versions of the serial functions bitmask values to

help non-developers understand.
This commit is contained in:
Dominic Clifton 2015-03-13 22:27:19 +01:00
parent 3b77626dd8
commit ccb1698ba5

View file

@ -25,14 +25,14 @@ typedef enum {
typedef enum {
FUNCTION_NONE = 0,
FUNCTION_MSP = (1 << 0),
FUNCTION_GPS = (1 << 1),
FUNCTION_TELEMETRY_FRSKY = (1 << 2),
FUNCTION_TELEMETRY_HOTT = (1 << 3),
FUNCTION_TELEMETRY_MSP = (1 << 4),
FUNCTION_TELEMETRY_SMARTPORT = (1 << 5),
FUNCTION_RX_SERIAL = (1 << 6),
FUNCTION_BLACKBOX = (1 << 7)
FUNCTION_MSP = (1 << 0), // 1
FUNCTION_GPS = (1 << 1), // 2
FUNCTION_TELEMETRY_FRSKY = (1 << 2), // 4
FUNCTION_TELEMETRY_HOTT = (1 << 3), // 8
FUNCTION_TELEMETRY_MSP = (1 << 4), // 16
FUNCTION_TELEMETRY_SMARTPORT = (1 << 5), // 32
FUNCTION_RX_SERIAL = (1 << 6), // 64
FUNCTION_BLACKBOX = (1 << 7) // 128
} serialPortFunction_e;
typedef enum {