mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
- vfd-setup: fix brightness setup for CST's boxmodel "Link" ...
and hide the brightness menu for all "Trinity" models. There's no display. Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -884,7 +884,7 @@ languagesetup.select Sprache
|
|||||||
lcd_info_line Zeige in Infozeile
|
lcd_info_line Zeige in Infozeile
|
||||||
lcd_info_line_channel Kanalname
|
lcd_info_line_channel Kanalname
|
||||||
lcd_info_line_clock Uhrzeit
|
lcd_info_line_clock Uhrzeit
|
||||||
lcdcontroler.brightness normale
|
lcdcontroler.brightness Normalbetrieb
|
||||||
lcdcontroler.brightnessdeepstandby Deep-Standby
|
lcdcontroler.brightnessdeepstandby Deep-Standby
|
||||||
lcdcontroler.brightnessstandby Standby
|
lcdcontroler.brightnessstandby Standby
|
||||||
lcdmenu.dim_brightness nach Dimm-Timeout
|
lcdmenu.dim_brightness nach Dimm-Timeout
|
||||||
|
@@ -884,9 +884,9 @@ languagesetup.select OSD Language
|
|||||||
lcd_info_line show in infoline
|
lcd_info_line show in infoline
|
||||||
lcd_info_line_channel Channelname
|
lcd_info_line_channel Channelname
|
||||||
lcd_info_line_clock clock
|
lcd_info_line_clock clock
|
||||||
lcdcontroler.brightness normal Brightness
|
lcdcontroler.brightness Normal mode
|
||||||
lcdcontroler.brightnessdeepstandby DeepStandby Brightness
|
lcdcontroler.brightnessdeepstandby Deep standby
|
||||||
lcdcontroler.brightnessstandby Standby Brightness
|
lcdcontroler.brightnessstandby Standby
|
||||||
lcdmenu.dim_brightness Brightness after dim timeout
|
lcdmenu.dim_brightness Brightness after dim timeout
|
||||||
lcdmenu.dim_time Dim timeout
|
lcdmenu.dim_time Dim timeout
|
||||||
lcdmenu.head VFD/LED Settings
|
lcdmenu.head VFD/LED Settings
|
||||||
|
@@ -79,6 +79,7 @@ hw_caps_t *get_hwcaps(void) {
|
|||||||
strcpy(caps.boxname, "Trinity V2");
|
strcpy(caps.boxname, "Trinity V2");
|
||||||
strcpy(caps.boxarch, "Kronos");
|
strcpy(caps.boxarch, "Kronos");
|
||||||
}
|
}
|
||||||
|
caps.can_set_display_brightness = 0;
|
||||||
break;
|
break;
|
||||||
case 12:
|
case 12:
|
||||||
strcpy(caps.boxname, "Zee2");
|
strcpy(caps.boxname, "Zee2");
|
||||||
@@ -91,6 +92,7 @@ hw_caps_t *get_hwcaps(void) {
|
|||||||
case 14:
|
case 14:
|
||||||
strcpy(caps.boxname, "Trinity Duo");
|
strcpy(caps.boxname, "Trinity Duo");
|
||||||
strcpy(caps.boxarch, "Kronos");
|
strcpy(caps.boxarch, "Kronos");
|
||||||
|
caps.can_set_display_brightness = 0;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
strcpy(caps.boxname, "UNKNOWN_BOX");
|
strcpy(caps.boxname, "UNKNOWN_BOX");
|
||||||
|
@@ -126,12 +126,16 @@ int CVfdSetup::showSetup()
|
|||||||
vfds->addItem(mf);
|
vfds->addItem(mf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CVFD::getInstance()->has_lcd) {
|
if (g_info.hw_caps->can_set_display_brightness)
|
||||||
|
{
|
||||||
//vfd brightness menu
|
//vfd brightness menu
|
||||||
mf = new CMenuForwarder(LOCALE_LCDMENU_LCDCONTROLER, vfd_enabled, NULL, this, "brightness", CRCInput::RC_green);
|
mf = new CMenuForwarder(LOCALE_LCDMENU_LCDCONTROLER, vfd_enabled, NULL, this, "brightness", CRCInput::RC_green);
|
||||||
mf->setHint("", LOCALE_MENU_HINT_VFD_BRIGHTNESS_SETUP);
|
mf->setHint("", LOCALE_MENU_HINT_VFD_BRIGHTNESS_SETUP);
|
||||||
vfds->addItem(mf);
|
vfds->addItem(mf);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (CVFD::getInstance()->has_lcd)
|
||||||
|
{
|
||||||
if (cs_get_revision() == 9) // Tank only
|
if (cs_get_revision() == 9) // Tank only
|
||||||
{
|
{
|
||||||
//backlight menu
|
//backlight menu
|
||||||
|
Reference in New Issue
Block a user