mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
rename can_set_display_brightness => display_can_set_brightness
Origin commit data
------------------
Branch: ni/coolstream
Commit: 157fabea51
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-01 (Wed, 01 Nov 2017)
Origin message was:
------------------
- rename can_set_display_brightness => display_can_set_brightness
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -30,7 +30,7 @@ hw_caps_t *get_hwcaps(void) {
|
|||||||
caps.display_xres = 12;
|
caps.display_xres = 12;
|
||||||
caps.display_yres = 0;
|
caps.display_yres = 0;
|
||||||
caps.display_can_deepstandby = (rev > 7);
|
caps.display_can_deepstandby = (rev > 7);
|
||||||
caps.can_set_display_brightness = 1;
|
caps.display_can_set_brightness = 1;
|
||||||
caps.can_ar_14_9 = 1;
|
caps.can_ar_14_9 = 1;
|
||||||
caps.can_ps_14_9 = 1;
|
caps.can_ps_14_9 = 1;
|
||||||
caps.force_tuner_2G = 0;
|
caps.force_tuner_2G = 0;
|
||||||
@@ -67,7 +67,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;
|
caps.display_can_set_brightness = 0;
|
||||||
break;
|
break;
|
||||||
case 12:
|
case 12:
|
||||||
strcpy(caps.boxname, "Zee2");
|
strcpy(caps.boxname, "Zee2");
|
||||||
@@ -80,7 +80,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;
|
caps.display_can_set_brightness = 0;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
strcpy(caps.boxname, "UNKNOWN_BOX");
|
strcpy(caps.boxname, "UNKNOWN_BOX");
|
||||||
|
@@ -33,7 +33,7 @@ typedef struct hw_caps
|
|||||||
display_type_t display_type;
|
display_type_t display_type;
|
||||||
int display_xres; /* x resolution or chars per line */
|
int display_xres; /* x resolution or chars per line */
|
||||||
int display_yres;
|
int display_yres;
|
||||||
int can_set_display_brightness;
|
int display_can_set_brightness;
|
||||||
char boxvendor[64];
|
char boxvendor[64];
|
||||||
char boxname[64];
|
char boxname[64];
|
||||||
char boxarch[64];
|
char boxarch[64];
|
||||||
|
@@ -130,7 +130,7 @@ int CVfdSetup::showSetup()
|
|||||||
vfds->addItem(mf);
|
vfds->addItem(mf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_info.hw_caps->can_set_display_brightness)
|
if (g_info.hw_caps->display_can_set_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);
|
||||||
|
Reference in New Issue
Block a user