mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
add display_can_deepstandby member
Origin commit data
------------------
Branch: master
Commit: c6b7cc8f99
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-01 (Wed, 01 Nov 2017)
Origin message was:
------------------
- add display_can_deepstandby member
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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