mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
use new define
Origin commit data
------------------
Branch: master
Commit: 475c015b54
Author: TangoCash <eric@loxat.de>
Date: 2020-10-03 (Sat, 03 Oct 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -31,7 +31,7 @@ libcommon_la_SOURCES = \
|
|||||||
ca_ci.cpp
|
ca_ci.cpp
|
||||||
else
|
else
|
||||||
if BOXTYPE_ARMBOX
|
if BOXTYPE_ARMBOX
|
||||||
if BOXMODEL_HD60
|
if BOXMODEL_HISILICON
|
||||||
libcommon_la_SOURCES = \
|
libcommon_la_SOURCES = \
|
||||||
ca.cpp
|
ca.cpp
|
||||||
else
|
else
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#if HAVE_DUCKBOX_HARDWARE \
|
#if HAVE_DUCKBOX_HARDWARE \
|
||||||
|| HAVE_MIPS_HARDWARE \
|
|| HAVE_MIPS_HARDWARE \
|
||||||
|| (HAVE_ARM_HARDWARE \
|
|| (HAVE_ARM_HARDWARE \
|
||||||
&& !BOXMODEL_HD60 \
|
&& !BOXMODEL_HISILICON \
|
||||||
&& !BOXMODEL_OSMIO4K \
|
&& !BOXMODEL_OSMIO4K \
|
||||||
&& !BOXMODEL_OSMIO4KPLUS \
|
&& !BOXMODEL_OSMIO4KPLUS \
|
||||||
)
|
)
|
||||||
|
@@ -183,6 +183,22 @@ hw_caps_t *get_hwcaps(void)
|
|||||||
strcpy(caps.boxname, "HD60");
|
strcpy(caps.boxname, "HD60");
|
||||||
strcpy(caps.boxarch, "HI3798M");
|
strcpy(caps.boxarch, "HI3798M");
|
||||||
#endif
|
#endif
|
||||||
|
#if BOXMODEL_HD61
|
||||||
|
initialized = 1;
|
||||||
|
caps.has_CI = 0;
|
||||||
|
caps.can_cec = 1;
|
||||||
|
caps.can_shutdown = 1;
|
||||||
|
caps.display_xres = 4;
|
||||||
|
caps.display_type = HW_DISPLAY_LED_NUM;
|
||||||
|
caps.display_can_deepstandby = 0;
|
||||||
|
caps.display_can_set_brightness = 1;
|
||||||
|
caps.display_has_statusline = 0;
|
||||||
|
caps.has_button_timer = 1;
|
||||||
|
caps.has_HDMI = 1;
|
||||||
|
strcpy(caps.boxvendor, "AX-Technologies");
|
||||||
|
strcpy(caps.boxname, "HD61");
|
||||||
|
strcpy(caps.boxarch, "HI3798M");
|
||||||
|
#endif
|
||||||
#if BOXMODEL_BRE2ZE4K
|
#if BOXMODEL_BRE2ZE4K
|
||||||
initialized = 1;
|
initialized = 1;
|
||||||
caps.has_CI = 1;
|
caps.has_CI = 1;
|
||||||
@@ -246,11 +262,12 @@ hw_caps_t *get_hwcaps(void)
|
|||||||
caps.can_cec = 1;
|
caps.can_cec = 1;
|
||||||
caps.can_cpufreq = 0;
|
caps.can_cpufreq = 0;
|
||||||
caps.can_shutdown = 1;
|
caps.can_shutdown = 1;
|
||||||
caps.display_xres = 5;
|
caps.display_xres = 128;
|
||||||
caps.display_type = HW_DISPLAY_LINE_TEXT;
|
caps.display_yres = 64;
|
||||||
caps.display_can_deepstandby = 0;
|
caps.display_type = HW_DISPLAY_GFX;
|
||||||
caps.display_can_set_brightness = 1;
|
caps.display_can_deepstandby = 0; // 0 because we use graphlcd/lcd4linux
|
||||||
caps.display_has_statusline = 1;
|
caps.display_can_set_brightness = 0; // 0 because we use graphlcd/lcd4linux
|
||||||
|
caps.display_has_statusline = 0; // 0 because we use graphlcd/lcd4linux
|
||||||
caps.display_has_colon = 0;
|
caps.display_has_colon = 0;
|
||||||
caps.has_button_timer = 1;
|
caps.has_button_timer = 1;
|
||||||
caps.has_button_vformat = 1;
|
caps.has_button_vformat = 1;
|
||||||
|
Reference in New Issue
Block a user