- add display_can_deepstandby member

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-01 15:09:42 +01:00
committed by Thilo Graf
parent 9a61e6264e
commit 3b7613b778
8 changed files with 8 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ hw_caps_t *get_hwcaps(void)
int len = -1;
int fd = open("/proc/stb/info/model", O_RDONLY);
caps.can_set_display_brightness = 0;
caps.display_can_deepstandby = 0;
if (fd != -1) {
len = read(fd, buf, sizeof(buf) - 1);
close(fd);