1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 03:19:54 +03:00

Adjust if/else syntax

This commit is contained in:
Geoff Sim 2024-10-10 16:20:08 +01:00
parent 9cc6aeec1f
commit 01c166626e

View file

@ -30,7 +30,8 @@ var VTX = (function() {
self.getMaxPower = function(vtxDev) {
if ((vtxDev == self.DEV_SMARTAUDIO) || (vtxDev == self.DEV_TRAMP)) {
return 5;
} else if (vtxDev == self.DEV_MSP) {
}
if (vtxDev == self.DEV_MSP) {
return 4;
}
return 3;