1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

Backlight color in SFs for REVPLUS

100 steps instead of 255, should be enough...
This commit is contained in:
Andre Bernet 2014-04-23 17:31:09 +02:00
parent 7600924d94
commit dfead504f7
3 changed files with 11 additions and 3 deletions

View file

@ -5074,6 +5074,14 @@ void menuModelCustomFunctions(uint8_t event)
lcd_putsiAtt(MODEL_CUSTOM_FUNC_3RD_COLUMN, y, STR_MMMINV, 0, attr);
}
}
#endif
#if defined(PCBTARANIS) && defined(REVPLUS)
else if (func == FUNC_BACKLIGHT) {
displaySlider(MODEL_CUSTOM_FUNC_3RD_COLUMN, y, CFN_PARAM(sd), 100, attr);
INCDEC_SET_FLAG(NO_INCDEC_MARKS);
val_min = 0;
val_max = 100;
}
#endif
else if (func == FUNC_RESET) {
val_max = FUNC_RESET_PARAM_LAST;