mirror of
https://github.com/opentx/opentx.git
synced 2025-07-17 13:25:20 +03:00
added case for UNIT_TEXT used by crossfire FM Sensor (#5724)
This commit is contained in:
parent
a35ffe16cc
commit
4b7f822848
1 changed files with 3 additions and 0 deletions
|
@ -232,6 +232,9 @@ void luaGetValueAndPush(lua_State* L, int src)
|
|||
case UNIT_DATETIME:
|
||||
luaPushTelemetryDateTime(L, telemetrySensor, telemetryItems[qr.quot]);
|
||||
break;
|
||||
case UNIT_TEXT:
|
||||
lua_pushstring(L, telemetryItems[qr.quot].text);
|
||||
break;
|
||||
case UNIT_CELLS:
|
||||
if (qr.rem == 0) {
|
||||
luaPushCells(L, telemetrySensor, telemetryItems[qr.quot]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue