mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +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>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4295839526
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-15 (Thu, 15 Jun 2017)
Origin message was:
------------------
- 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 was generated by Migit
This commit is contained in:
@@ -126,12 +126,16 @@ int CVfdSetup::showSetup()
|
||||
vfds->addItem(mf);
|
||||
}
|
||||
|
||||
if (CVFD::getInstance()->has_lcd) {
|
||||
if (g_info.hw_caps->can_set_display_brightness)
|
||||
{
|
||||
//vfd brightness menu
|
||||
mf = new CMenuForwarder(LOCALE_LCDMENU_LCDCONTROLER, vfd_enabled, NULL, this, "brightness", CRCInput::RC_green);
|
||||
mf->setHint("", LOCALE_MENU_HINT_VFD_BRIGHTNESS_SETUP);
|
||||
vfds->addItem(mf);
|
||||
}
|
||||
|
||||
if (CVFD::getInstance()->has_lcd)
|
||||
{
|
||||
if (cs_get_revision() == 9) // Tank only
|
||||
{
|
||||
//backlight menu
|
||||
|
Reference in New Issue
Block a user