feat: Use trim as a 3POS toggle switch source (#4465)

This commit is contained in:
philmoz
2024-01-05 19:16:26 +10:00
committed by GitHub
parent fa12b27438
commit 2635a4972b
12 changed files with 52 additions and 17 deletions
+2
View File
@@ -287,6 +287,8 @@ QString ModelPrinter::printTrim(int flightModeIndex, int stickIndex)
if (fm.trimMode[stickIndex] == -1) {
return tr("OFF");
} else if (fm.trimMode[stickIndex] == CPN_MAX_FLIGHT_MODES * 2) {
return tr("3POS");
}
else {
if (fm.trimRef[stickIndex] == flightModeIndex) {