Merge pull request #3405 from opentx/kilrah/extratrims

[Horus] Extra trims support
This commit is contained in:
Bertrand Songis
2016-04-09 22:59:43 +02:00
30 changed files with 272 additions and 65 deletions
+1 -1
View File
@@ -260,7 +260,7 @@ void menuModelExpoOne(uint8_t event)
int8_t carryTrim = -ed->carryTrim;
lcd_putsLeft(y, STR_TRIM);
lcdDrawTextAtIndex(EXPO_ONE_2ND_COLUMN, y, STR_VMIXTRIMS, (not_stick && carryTrim == 0) ? 0 : carryTrim+1, menuHorizontalPosition==0 ? attr : 0);
if (attr) ed->carryTrim = -checkIncDecModel(event, carryTrim, not_stick ? TRIM_ON : -TRIM_OFF, -TRIM_AIL);
if (attr) ed->carryTrim = -checkIncDecModel(event, carryTrim, not_stick ? TRIM_ON : -TRIM_OFF, -TRIM_LAST);
break;
}
y += FH;