From 90cf98465b61722e9b6fda46846c56b71063ab2e Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 30 Jun 2014 11:14:45 +0200 Subject: [PATCH] No Telemetry tab in Companion when the firmware doesn't need it --- companion/src/firmwares/opentx/opentxinterface.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/companion/src/firmwares/opentx/opentxinterface.cpp b/companion/src/firmwares/opentx/opentxinterface.cpp index 46d4e0785..6fbacc498 100644 --- a/companion/src/firmwares/opentx/opentxinterface.cpp +++ b/companion/src/firmwares/opentx/opentxinterface.cpp @@ -621,7 +621,10 @@ int OpenTxFirmware::getCapability(const Capability capability) case HasCvNames: return (IS_TARANIS(board) ? 1 : 0); case Telemetry: - return TM_HASTELEMETRY|TM_HASOFFSET|TM_HASWSHH; + if (board == BOARD_GRUVIN9X || IS_ARM(board) || id.contains("frsky")) + return TM_HASTELEMETRY|TM_HASOFFSET|TM_HASWSHH; + else + return 0; case TelemetryBars: return 1; case TelemetryCustomScreens: