[Crossfire] Telemetry packets are bigger

This commit is contained in:
Bertrand Songis
2016-06-15 22:19:10 +02:00
parent d51e86b669
commit 9b5b9be50c
6 changed files with 16 additions and 8 deletions
+5 -2
View File
@@ -509,19 +509,22 @@ struct LuaTelemetryPacket
}
} sport;
#if defined(CROSSFIRE)
struct {
uint8_t command;
uint8_t length;
uint8_t data[8];
uint8_t data[32];
void clear()
{
command = 0x00;
}
} crossfire;
#endif
};
};
extern Fifo<LuaTelemetryPacket, 16> * luaInputTelemetryFifo;
#define LUA_TELEMETRY_FIFO_SIZE 8
extern Fifo<LuaTelemetryPacket, LUA_TELEMETRY_FIFO_SIZE> * luaInputTelemetryFifo;
extern LuaTelemetryPacket luaOutputTelemetryPacket;
void sportSendLuaPacket(LuaTelemetryPacket & packet);
#endif