mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
fix generic compil
This commit is contained in:
@@ -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");
|
||||
|
@@ -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))
|
||||
|
@@ -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];
|
||||
|
@@ -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 */
|
||||
|
@@ -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",
|
||||
|
@@ -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");
|
||||
|
Reference in New Issue
Block a user