mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 13:25:20 +03:00
[PXX2] Telemetry push fix
This commit is contained in:
parent
725388b83e
commit
471d1c6f53
5 changed files with 18 additions and 8 deletions
|
@ -480,6 +480,7 @@ static int luaPXX2TelemetryPush(lua_State * L)
|
|||
packet.primId = luaL_checkunsigned(L, 4);
|
||||
packet.dataId = luaL_checkunsigned(L, 5);
|
||||
packet.value = luaL_checkunsigned(L, 6);
|
||||
// TODO we could avoid this new copy
|
||||
pushPXX2TelemetryPacket(module, rx_uid - 1, &packet);
|
||||
lua_pushboolean(L, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue