mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 05:15:18 +03:00
Add LUA units to Taranis too (#7489)
This commit is contained in:
parent
4ffb1a34dc
commit
352b33e12d
1 changed files with 1 additions and 3 deletions
|
@ -1875,8 +1875,6 @@ const luaR_value_entry opentxConstants[] = {
|
||||||
{ "PLAY_BACKGROUND", PLAY_BACKGROUND },
|
{ "PLAY_BACKGROUND", PLAY_BACKGROUND },
|
||||||
{ "TIMEHOUR", TIMEHOUR },
|
{ "TIMEHOUR", TIMEHOUR },
|
||||||
|
|
||||||
#if defined(PCBHORUS)
|
|
||||||
// Adding the unit consts for the set Telemetry function adds about 1k of flash usage
|
|
||||||
{"UNIT_RAW", UNIT_RAW },
|
{"UNIT_RAW", UNIT_RAW },
|
||||||
{"UNIT_VOLTS", UNIT_VOLTS },
|
{"UNIT_VOLTS", UNIT_VOLTS },
|
||||||
{"UNIT_AMPS", UNIT_AMPS },
|
{"UNIT_AMPS", UNIT_AMPS },
|
||||||
|
@ -1910,6 +1908,6 @@ const luaR_value_entry opentxConstants[] = {
|
||||||
{"UNIT_GPS", UNIT_GPS},
|
{"UNIT_GPS", UNIT_GPS},
|
||||||
{"UNIT_BITFIELD", UNIT_BITFIELD},
|
{"UNIT_BITFIELD", UNIT_BITFIELD},
|
||||||
{"UNIT_TEXT", UNIT_TEXT},
|
{"UNIT_TEXT", UNIT_TEXT},
|
||||||
#endif
|
|
||||||
{ nullptr, 0 } /* sentinel */
|
{ nullptr, 0 } /* sentinel */
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue