Restore access from LUA since values are controled
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user