add display_can_deepstandby member

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


Origin commit data
------------------
Branch: master
Commit: 3b7613b778
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-01 (Wed, 01 Nov 2017)

Origin message was:
------------------
- add display_can_deepstandby member

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


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-01 15:09:42 +01:00
committed by Thilo Graf
parent 5aec4de05d
commit 8d43608efd
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);