mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
One more constant exported for Lua scripts: FULLSCALE, to avoid 10.24
hardcoded in Lua scripts...
This commit is contained in:
parent
7bd45379b9
commit
cd42a7749e
1 changed files with 1 additions and 0 deletions
|
@ -914,6 +914,7 @@ void luaInit()
|
|||
lua_register(L, "popupInput", luaPopupInput);
|
||||
|
||||
// Push OpenTX constants
|
||||
lua_registerint(L, "FULLSCALE", RESX);
|
||||
lua_registerint(L, "DBLSIZE", DBLSIZE);
|
||||
lua_registerint(L, "MIDSIZE", MIDSIZE);
|
||||
lua_registerint(L, "SMLSIZE", SMLSIZE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue