Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMichel Pastor <shellixyz@gmail.com>2019-03-24 19:58:53 +0300
committerMichel Pastor <shellixyz@gmail.com>2019-03-24 19:58:53 +0300
commit5c1c0a6da49f6648ed8c7312eaa9091052754b89 (patch)
tree0c92607610beef84b2e29a2acf3801e8fb57ee40 /js
parent71b8c1576c52214885cd557264d8d159d87b79be (diff)
Fix GUI VTX power settings
Diffstat (limited to 'js')
-rw-r--r--js/vtx.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/vtx.js b/js/vtx.js
index 7587e807..fad641e5 100644
--- a/js/vtx.js
+++ b/js/vtx.js
@@ -24,10 +24,10 @@ var VTX = (function() {
}
self.getMaxPower = function(vtxDev) {
- if (vtxDev == self.DEV_SMARTAUDIO) {
- return 4;
+ if ((vtxDev == self.DEV_SMARTAUDIO) || (vtxDev == self.DEV_TRAMP)) {
+ return 5;
}
- return 5;
+ return 3;
}
self.LOW_POWER_DISARM_MIN = 0;