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:
parent
0f8d231aad
commit
668c9c0457
4 changed files with 31 additions and 26 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue