-
-
Notifications
You must be signed in to change notification settings - Fork 479
Open
Labels
enhancement ✨New feature or requestNew feature or request
Milestone
Description
Whereby most of the pulses / telemetry code is actually split by module index, it seems a couple of things rely on one single global variable called telemetryProtocol:
telemetry/telemetry.cpp:uint8_t telemetryProtocol = 255;
telemetry/telemetry.h:extern uint8_t telemetryProtocol;
For example in lua/api_general.cpp:
static int luaCrossfireTelemetryPush(lua_State * L)
{
if (telemetryProtocol != PROTOCOL_TELEMETRY_CROSSFIRE) {
lua_pushnil(L);
return 1;
}This prevents however from flexibly using 2 different protocols to be able to achieve a redundant setup (for instance 2.4GHz FrSky D16 + 900MHz Crossfire).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancement ✨New feature or requestNew feature or request