From 24f9823c1f0cf65003acf43fccc1cb50b08a43dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Garci=CC=81a=20Hierro?= Date: Fri, 20 Oct 2017 12:52:21 +0100 Subject: [PATCH] Allow RSSI channel only on channels >= 5 Also, show CH# (e.g. CH7) rather than just the bare number in the combobox, makes it more obvious that you're selecting an actual channel number rather than an AUX channel number. --- tabs/receiver.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tabs/receiver.js b/tabs/receiver.js index a879c3ac..0681f658 100644 --- a/tabs/receiver.js +++ b/tabs/receiver.js @@ -172,8 +172,8 @@ TABS.receiver.initialize = function (callback) { // rssi var rssi_channel_e = $('select[name="rssi_channel"]'); rssi_channel_e.append(''); - for (var i = 1; i < RC.active_channels + 1; i++) { - rssi_channel_e.append(''); + for (var i = 5; i < RC.active_channels + 1; i++) { + rssi_channel_e.append(''); } $('select[name="rssi_channel"]').val(MISC.rssi_channel);