Lua telemetryPush function now added
This commit is contained in:
@@ -271,8 +271,8 @@ void processSportPacket(uint8_t * packet)
|
||||
}
|
||||
else if (id >= DIY_FIRST_ID && id <= DIY_LAST_ID) {
|
||||
#if defined(LUA)
|
||||
if (luaTelemetryFifo) {
|
||||
luaTelemetryFifo->push((LuaTelemetryValue){(uint8_t)id, data});
|
||||
if (luaInputTelemetryFifo) {
|
||||
luaInputTelemetryFifo->push((LuaTelemetryValue){(uint8_t)id, data});
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user