fix channel order display in radio_setup

This commit is contained in:
gagarinlg
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 19ed068d92
commit 40641e5787
+1 -1
View File
@@ -504,7 +504,7 @@ void RadioSetupPage::build(FormWindow * window)
choice->setTextHandler([](uint8_t value) {
std::string s;
for (uint8_t i = 0; i < 4; i++) {
s += std::string(STR_RETA123[channelOrder(value, i + 1)]);
s += STR_RETA123[channelOrder(value, i + 1) - 1];
}
return s;
});