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:
parent
b8cb379234
commit
af7183151c
1 changed files with 0 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue