Skip to content

Commit

Permalink
Fix the popup menu entries when selecting the value for the Trainer s…
Browse files Browse the repository at this point in the history
…pecial function.
  • Loading branch information
philmoz committed Sep 22, 2023
1 parent 9bec772 commit 6e41047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/gui/colorlcd/special_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class SpecialFunctionEditPage : public Page
else if (value == MAX_STICKS + 1)
return std::string(STR_CHANS);

return std::string(getMainControlLabel(value));
return std::string(getMainControlLabel(value - 1));
});
break;
}
Expand Down

0 comments on commit 6e41047

Please sign in to comment.