mirror of
https://github.com/opentx/opentx.git
synced 2025-07-18 05:45:21 +03:00
Fix: former Lua telemetry fields were not exported correctly (tx-voltage, clock and timers1-3)
This commit is contained in:
parent
60c925a721
commit
34090a1d3e
3 changed files with 9 additions and 5 deletions
|
@ -149,6 +149,9 @@ static void luaGetValueAndPush(int src)
|
|||
lua_pushinteger(L, (int)0);
|
||||
}
|
||||
}
|
||||
else if (src == MIXSRC_TX_VOLTAGE) {
|
||||
lua_pushnumber(L, float(value)/10.0);
|
||||
}
|
||||
else {
|
||||
lua_pushinteger(L, value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue