From d911d382f20201bbbf9e5a10eb495632fef92f31 Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Sun, 5 Mar 2017 08:42:07 +0100 Subject: [PATCH] [companion] X7 only has 6 chars for sound file names --- companion/src/firmwares/opentx/opentxinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/firmwares/opentx/opentxinterface.cpp b/companion/src/firmwares/opentx/opentxinterface.cpp index 632872446..bf3c553d8 100644 --- a/companion/src/firmwares/opentx/opentxinterface.cpp +++ b/companion/src/firmwares/opentx/opentxinterface.cpp @@ -557,7 +557,7 @@ int OpenTxFirmware::getCapability(::Capability capability) case VoicesAsNumbers: return (IS_ARM(board) ? 0 : 1); case VoicesMaxLength: - return (IS_ARM(board) ? (IS_TARANIS(board) ? 8 : 6) : 0); + return (IS_ARM(board) ? (IS_TARANIS_X9(board) ? 8 : 6) : 0); case MultiLangVoice: return (IS_ARM(board) ? 1 : 0); case SoundPitch: