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:
parent
9cc6aeec1f
commit
01c166626e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue