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

Allow smartport to be configured. Fix shared port flag calculation.

This commit is contained in:
Dominic Clifton 2014-11-12 01:30:05 +00:00
parent 0f8d231aad
commit 668c9c0457
4 changed files with 31 additions and 26 deletions

View file

@ -55,7 +55,7 @@ typedef enum {
SCENARIO_SMARTPORT_TELEMETRY_ONLY = FUNCTION_SMARTPORT_TELEMETRY
} serialPortFunctionScenario_e;
#define SERIAL_PORT_SCENARIO_COUNT 9
#define SERIAL_PORT_SCENARIO_COUNT 10
#define SERIAL_PORT_SCENARIO_MAX (SERIAL_PORT_SCENARIO_COUNT - 1)
extern const serialPortFunctionScenario_e serialPortScenarios[SERIAL_PORT_SCENARIO_COUNT];