fix generic compil

This commit is contained in:
Jacek Jendrzej
2017-12-07 11:13:28 +01:00
parent dd01a95ddb
commit 78b3403303
6 changed files with 6 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ hw_caps_t *get_hwcaps(void)
caps.display_type = HW_DISPLAY_LINE_TEXT;
caps.has_HDMI = 1;
caps.display_xres = 8;
caps.can_set_display_brightness = 0;
caps.display_has_statusline = 0;
caps.display_can_deepstandby = 0;
caps.display_can_set_brightness = 0;
strcpy(caps.boxvendor, "AZBox");

View File

@@ -30,7 +30,7 @@ hw_caps_t *get_hwcaps(void)
caps.display_xres = 8;
caps.display_can_deepstandby = 0;
caps.display_can_set_brightness = 0;
caps.can_set_display_brightness = 0;
caps.display_has_statusline = 0;
strcpy(caps.boxvendor, "Generic");
strcpy(caps.boxname, "PC");
if (! uname(&u))

View File

@@ -38,7 +38,7 @@ typedef struct hw_caps
int display_yres;
int display_can_deepstandby;
int display_can_set_brightness;
int can_set_display_brightness;
int display_has_statusline;
char boxvendor[64];
char boxname[64];
char boxarch[64];

View File

@@ -37,7 +37,7 @@ hw_caps_t *get_hwcaps(void)
caps.has_HDMI = 1;
caps.has_SCART = 1;
caps.display_xres = 4;
caps.can_set_display_brightness = 0;
caps.display_has_statusline = 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 */

View File

@@ -23,7 +23,7 @@ static hw_caps_t caps = {
.display_type = HW_DISPLAY_GFX,
.display_xres = 128,
.display_yres = 64,
.can_set_display_brightness = 0,
.display_has_statusline = 0,
.display_can_deepstandby = 0;
.display_can_set_brightness = 0;
.boxvendor = "Armas",

View File

@@ -29,7 +29,7 @@ hw_caps_t *get_hwcaps(void)
caps.display_type = HW_DISPLAY_LINE_TEXT;
caps.has_HDMI = 1;
caps.display_xres = 8;
caps.can_set_display_brightness = 0;
caps.display_has_statusline = 0;
caps.display_can_deepstandby = 0;
caps.display_can_set_brightness = 0;
strcpy(caps.boxvendor, "Raspberry");