Revert "remove unused"

This reverts commit 3f9525e42e.
This commit is contained in:
Jacek Jendrzej
2017-11-03 19:57:28 +01:00
parent 3f9525e42e
commit dd01a95ddb
6 changed files with 6 additions and 0 deletions

View File

@@ -32,6 +32,7 @@ hw_caps_t *get_hwcaps(void)
caps.display_xres = 8;
caps.can_set_display_brightness = 0;
caps.display_can_deepstandby = 0;
caps.display_can_set_brightness = 0;
strcpy(caps.boxvendor, "AZBox");
const char *tmp;
char buf[64];

View File

@@ -29,6 +29,7 @@ hw_caps_t *get_hwcaps(void)
caps.has_HDMI = 1;
caps.display_xres = 8;
caps.display_can_deepstandby = 0;
caps.display_can_set_brightness = 0;
caps.can_set_display_brightness = 0;
strcpy(caps.boxvendor, "Generic");
strcpy(caps.boxname, "PC");

View File

@@ -37,6 +37,7 @@ typedef struct hw_caps
int display_xres; /* x resolution or chars per line */
int display_yres;
int display_can_deepstandby;
int display_can_set_brightness;
int can_set_display_brightness;
char boxvendor[64];
char boxname[64];

View File

@@ -39,6 +39,7 @@ hw_caps_t *get_hwcaps(void)
caps.display_xres = 4;
caps.can_set_display_brightness = 0;
caps.display_can_deepstandby = 0;
caps.display_can_set_brightness = 0;
caps.force_tuner_2G = 1; /* I have patched the drivers to fix this, but not everyone has */
strcpy(caps.boxvendor, "SPARK");
const char *tmp;

View File

@@ -25,6 +25,7 @@ static hw_caps_t caps = {
.display_yres = 64,
.can_set_display_brightness = 0,
.display_can_deepstandby = 0;
.display_can_set_brightness = 0;
.boxvendor = "Armas",
.boxname = "TripleDragon",
.boxarch = "ppc405"

View File

@@ -31,6 +31,7 @@ hw_caps_t *get_hwcaps(void)
caps.display_xres = 8;
caps.can_set_display_brightness = 0;
caps.display_can_deepstandby = 0;
caps.display_can_set_brightness = 0;
strcpy(caps.boxvendor, "Raspberry");
strcpy(caps.boxname, "Pi");
if (! uname(&u))