From 1e73101a43a81607c960d1f0e7c5721f5d4452f2 Mon Sep 17 00:00:00 2001 From: 3djc Date: Sat, 29 May 2021 10:08:57 +0200 Subject: [PATCH] Set correct channel count for Ghost modules opentx/opentx#8534 --- radio/src/pulses/modules_helpers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radio/src/pulses/modules_helpers.h b/radio/src/pulses/modules_helpers.h index c33a433c4..37a8c45c2 100644 --- a/radio/src/pulses/modules_helpers.h +++ b/radio/src/pulses/modules_helpers.h @@ -386,6 +386,8 @@ inline int8_t defaultModuleChannels_M8(uint8_t idx) return 4; // 12 channels else if (isModulePXX2(idx)) return 8; // 16 channels + else if (isModuleGhost(idx)) + return 4; // 12 channels else return maxModuleChannels_M8(idx); }