1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-15 12:25:12 +03:00

Restore access from LUA since values are controled

This commit is contained in:
3djc 2018-02-28 12:32:47 +01:00
parent b8cb379234
commit af7183151c

View file

@ -218,11 +218,6 @@ static void luaPushCells(lua_State* L, TelemetrySensor & telemetrySensor, Teleme
void luaGetValueAndPush(lua_State* L, int src)
{
if(IS_FAI_FORBIDDEN(src)) {
lua_pushinteger(L, 0);
return;
}
getvalue_t value = getValue(src); // ignored for GPS, DATETIME, and CELLS
if (src >= MIXSRC_FIRST_TELEM && src <= MIXSRC_LAST_TELEM) {