From 3dba82622eb3ba8acdcbd2e53ba54ba86c01cd25 Mon Sep 17 00:00:00 2001 From: 3djc Date: Fri, 3 Feb 2017 04:58:29 -0800 Subject: [PATCH] Fix fields name (mixer,GC,..) (#4383) --- companion/src/firmwares/opentx/opentxinterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/companion/src/firmwares/opentx/opentxinterface.cpp b/companion/src/firmwares/opentx/opentxinterface.cpp index 6b088271a..bb7fbf688 100644 --- a/companion/src/firmwares/opentx/opentxinterface.cpp +++ b/companion/src/firmwares/opentx/opentxinterface.cpp @@ -495,7 +495,7 @@ int OpenTxFirmware::getCapability(Capability capability) case FlightModesName: return (IS_HORUS_OR_TARANIS(board) ? 10 : 6); case GvarsName: - return (IS_9X(board) ? 0 : 6); + return (IS_9X(board) ? 0 : 3); case GvarsInCS: case HasFAIMode: return 1; @@ -623,9 +623,9 @@ int OpenTxFirmware::getCapability(Capability capability) case NumCurves: return (HAS_LARGE_LCD(board) ? 32 : (IS_ARM(board) ? 16 : 8)); case HasMixerNames: - return (IS_ARM(board) ? (IS_HORUS_OR_TARANIS(board) ? 8 : 6) : false); + return (IS_ARM(board) ? (IS_TARANIS_X9(board) ? 8 : 6) : false); case HasExpoNames: - return (IS_ARM(board) ? (IS_HORUS_OR_TARANIS(board) ? 8 : 6) : false); + return (IS_ARM(board) ? (IS_TARANIS_X9(board) ? 8 : 6) : false); case HasNoExpo: return (IS_HORUS_OR_TARANIS(board) ? false : true); case ChannelsName: