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
+1 -1
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: