Add the constant "MAX_SENSORS" to Lua
This commit is contained in:
@@ -1374,6 +1374,7 @@ const luaR_value_entry opentxConstants[] = {
|
|||||||
#endif
|
#endif
|
||||||
{ "MIXSRC_CH1", MIXSRC_CH1 },
|
{ "MIXSRC_CH1", MIXSRC_CH1 },
|
||||||
{ "SWSRC_LAST", SWSRC_LAST_LOGICAL_SWITCH },
|
{ "SWSRC_LAST", SWSRC_LAST_LOGICAL_SWITCH },
|
||||||
|
{ "MAX_SENSORS", MAX_TELEMETRY_SENSORS },
|
||||||
#if defined(COLORLCD)
|
#if defined(COLORLCD)
|
||||||
{ "SHADOWED", SHADOWED },
|
{ "SHADOWED", SHADOWED },
|
||||||
{ "COLOR", ZoneOption::Color },
|
{ "COLOR", ZoneOption::Color },
|
||||||
|
|||||||
Reference in New Issue
Block a user