Skip to content

Commit

Permalink
Adjust if/else syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffsim committed Oct 10, 2024
1 parent 9cc6aee commit 01c1666
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/vtx.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 01c1666

Please sign in to comment.