1
0
Fork 0
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:
bsongis 2014-05-14 10:46:37 +02:00
parent 7bd45379b9
commit cd42a7749e

View file

@ -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);