mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
vuplus: allow to control led brightness for zero4k and uno4k
maybe this is also usefull for the other vuplus4k boxes
Origin commit data
------------------
Branch: master
Commit: cd09c780b7
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-10-28 (Mon, 28 Oct 2019)
Origin message was:
------------------
- vuplus: allow to control led brightness for zero4k and uno4k
maybe this is also usefull for the other vuplus4k boxes
------------------
This commit was generated by Migit
This commit is contained in:
@@ -15,6 +15,7 @@ extern "C" {
|
|||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
HW_DISPLAY_NONE,
|
HW_DISPLAY_NONE,
|
||||||
|
HW_DISPLAY_LED_ONLY,
|
||||||
HW_DISPLAY_LED_NUM, /* simple 7 segment LED display */
|
HW_DISPLAY_LED_NUM, /* simple 7 segment LED display */
|
||||||
HW_DISPLAY_LINE_TEXT, /* 1 line text display */
|
HW_DISPLAY_LINE_TEXT, /* 1 line text display */
|
||||||
HW_DISPLAY_GFX
|
HW_DISPLAY_GFX
|
||||||
|
@@ -88,9 +88,9 @@ hw_caps_t *get_hwcaps(void)
|
|||||||
caps.has_CI = 1;
|
caps.has_CI = 1;
|
||||||
caps.can_cec = 1;
|
caps.can_cec = 1;
|
||||||
caps.can_shutdown = 1;
|
caps.can_shutdown = 1;
|
||||||
caps.display_type = HW_DISPLAY_NONE;
|
caps.display_type = HW_DISPLAY_LED_ONLY;
|
||||||
caps.display_can_deepstandby = 0;
|
caps.display_can_deepstandby = 0;
|
||||||
caps.display_can_set_brightness = 0;
|
caps.display_can_set_brightness = 1;
|
||||||
caps.display_has_statusline = 0;
|
caps.display_has_statusline = 0;
|
||||||
caps.has_button_timer = 1;
|
caps.has_button_timer = 1;
|
||||||
caps.has_button_vformat = 0;
|
caps.has_button_vformat = 0;
|
||||||
@@ -122,9 +122,9 @@ hw_caps_t *get_hwcaps(void)
|
|||||||
caps.has_CI = 1;
|
caps.has_CI = 1;
|
||||||
caps.can_cec = 1;
|
caps.can_cec = 1;
|
||||||
caps.can_shutdown = 1;
|
caps.can_shutdown = 1;
|
||||||
caps.display_type = HW_DISPLAY_NONE;
|
caps.display_type = HW_DISPLAY_LED_ONLY;
|
||||||
caps.display_can_deepstandby = 0;
|
caps.display_can_deepstandby = 0;
|
||||||
caps.display_can_set_brightness = 0;
|
caps.display_can_set_brightness = 1;
|
||||||
caps.display_has_statusline = 0;
|
caps.display_has_statusline = 0;
|
||||||
caps.has_button_timer = 1;
|
caps.has_button_timer = 1;
|
||||||
caps.has_button_vformat = 0;
|
caps.has_button_vformat = 0;
|
||||||
|
Reference in New Issue
Block a user