From 40149c487c7af8a3bde0a4ca8e400ca0c952f8d7 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Thu, 22 Sep 2022 21:27:11 +1000 Subject: [PATCH] fix(cpn): Zorro, not T-Lite talks to Lite modules Also, BetaFPV LR3Pro doesn't talk to Lite modules Fixes #2343 --- companion/src/firmwares/moduledata.cpp | 2 +- companion/src/firmwares/opentx/opentxinterface.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/companion/src/firmwares/moduledata.cpp b/companion/src/firmwares/moduledata.cpp index 09cf7b604..0feb878b0 100644 --- a/companion/src/firmwares/moduledata.cpp +++ b/companion/src/firmwares/moduledata.cpp @@ -422,7 +422,7 @@ bool ModuleData::isProtocolAvailable(int moduleidx, unsigned int protocol, Gener case PULSES_XJT_LITE_X16: case PULSES_XJT_LITE_D8: case PULSES_XJT_LITE_LR12: - return (IS_TARANIS_XLITE(board) || IS_TARANIS_X9LITE(board) || IS_JUMPER_TLITE(board)); + return (IS_TARANIS_XLITE(board) || IS_TARANIS_X9LITE(board) || IS_RADIOMASTER_ZORRO(board)); default: return false; } diff --git a/companion/src/firmwares/opentx/opentxinterface.cpp b/companion/src/firmwares/opentx/opentxinterface.cpp index 6b50a4034..4f0c33aaf 100644 --- a/companion/src/firmwares/opentx/opentxinterface.cpp +++ b/companion/src/firmwares/opentx/opentxinterface.cpp @@ -877,7 +877,7 @@ bool OpenTxFirmware::isAvailable(PulsesProtocol proto, int port) case PULSES_XJT_LITE_X16: case PULSES_XJT_LITE_D8: case PULSES_XJT_LITE_LR12: - return (IS_TARANIS_XLITE(board) || IS_TARANIS_X9LITE(board) || IS_JUMPER_TLITE(board) || IS_BETAFPV_LR3PRO(board)); + return (IS_TARANIS_XLITE(board) || IS_TARANIS_X9LITE(board) || IS_RADIOMASTER_ZORRO(board)); default: return false; }