Fix: former Lua telemetry fields were not exported correctly (tx-voltage, clock and timers1-3)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user