mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
- add display_can_deepstandby member
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user