mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 09:15:38 +03:00
[Crossfire] Upstream link development started
This commit is contained in:
parent
8523a2fdaf
commit
862fa5525e
11 changed files with 192 additions and 85 deletions
|
@ -421,6 +421,7 @@ void telemetryInit(uint8_t protocol)
|
|||
#if defined(CROSSFIRE)
|
||||
else if (protocol == PROTOCOL_PULSES_CROSSFIRE) {
|
||||
telemetryPortInit(CROSSFIRE_BAUDRATE);
|
||||
luaOutputTelemetryPacket.crossfire.clear();
|
||||
telemetryPortSetDirectionOutput();
|
||||
}
|
||||
#endif
|
||||
|
@ -430,6 +431,7 @@ void telemetryInit(uint8_t protocol)
|
|||
}
|
||||
else {
|
||||
telemetryPortInit(FRSKY_SPORT_BAUDRATE);
|
||||
luaOutputTelemetryPacket.sport.clear();
|
||||
}
|
||||
|
||||
#if defined(REVX) && !defined(SIMU)
|
||||
|
@ -455,5 +457,5 @@ NOINLINE uint8_t getRssiAlarmValue(uint8_t alarm)
|
|||
|
||||
#if defined(LUA)
|
||||
Fifo<LuaTelemetryPacket, 16> * luaInputTelemetryFifo = NULL;
|
||||
LuaTelemetryPacket luaOutputTelemetryPacket = { 0x7E, 0x0, 0x0, 0x0 };
|
||||
LuaTelemetryPacket luaOutputTelemetryPacket;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue