From a6c01f990b9971250fbcd90ce41feb4f516fe82d Mon Sep 17 00:00:00 2001 From: bsongis Date: Sun, 25 May 2014 14:30:51 +0200 Subject: [PATCH] A1/A2/A3/A4 skipped in the sources list when their range is not defined --- radio/src/gui/menus.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radio/src/gui/menus.cpp b/radio/src/gui/menus.cpp index 2575b4c4b..22e93fdf9 100644 --- a/radio/src/gui/menus.cpp +++ b/radio/src/gui/menus.cpp @@ -1443,6 +1443,10 @@ bool isTelemetrySourceAvailable(int source) return false; #endif + if (source >= TELEM_A1 && source <= TELEM_A4) { + return g_model.frsky.channels[source-TELEM_A1].ratio != 0; + } + #if !defined(RTCLOCK) if (source == TELEM_TX_TIME) return false;