1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-18 05:45:21 +03:00

uncommented call to isAvailable() that was used for testing

This commit is contained in:
David S. Beach 2015-09-02 14:09:50 -04:00
parent 8b83911017
commit 61b701f930

View file

@ -182,7 +182,7 @@ static void luaGetValueAndPush(int src)
if (src >= MIXSRC_FIRST_TELEM && src <= MIXSRC_LAST_TELEM) {
src = (src-MIXSRC_FIRST_TELEM) / 3;
// telemetry values
if (TELEMETRY_STREAMING() /* && telemetryItems[src].isAvailable() */) {
if (TELEMETRY_STREAMING() && telemetryItems[src].isAvailable()) {
TelemetrySensor & telemetrySensor = g_model.telemetrySensors[src];
switch (telemetrySensor.unit) {
case UNIT_GPS: