diff --git a/src/main/io/serial.h b/src/main/io/serial.h index 188e16e651..0a08e1f6af 100644 --- a/src/main/io/serial.h +++ b/src/main/io/serial.h @@ -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 {