- vfd-setup: use new display_can_deepstandby member from libstb-hal

Signed-off-by: Thilo Graf <dbt@novatux.de>

Build was broken with original cherry-pick. hw_caps_t was incomplete.
This commit is contained in:
svenhoefer
2017-11-01 15:10:38 +01:00
committed by Thilo Graf
parent 0fac12001e
commit 674ba19c03
3 changed files with 5 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ hw_caps_t *get_hwcaps(void) {
caps.display_type = HW_DISPLAY_LINE_TEXT;
caps.display_xres = 12;
caps.display_yres = 0;
caps.display_can_deepstandby = (rev > 7);
caps.can_set_display_brightness = 1;
caps.can_ar_14_9 = 1;
caps.can_ps_14_9 = 1;

View File

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