mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
Revert "hardware_caps.cpp: Add hw ifdef for cs_get_chip_type()"
This reverts commit5b9c48fbf1
because libcoolstream now is updated Origin commit data ------------------ Branch: ni/coolstream Commit:83de4ba055
Author: vanhofen <vanhofen@gmx.de> Date: 2017-03-10 (Fri, 10 Mar 2017) ------------------ This commit was generated by Migit
This commit is contained in:
@@ -18,6 +18,7 @@ hw_caps_t *get_hwcaps(void) {
|
||||
if (initialized)
|
||||
return ∩︀
|
||||
int rev = cs_get_revision();
|
||||
int chip = cs_get_chip_type();
|
||||
caps.has_fan = (rev < 8);
|
||||
caps.has_HDMI = 1;
|
||||
caps.has_SCART = (rev != 10);
|
||||
@@ -53,9 +54,8 @@ hw_caps_t *get_hwcaps(void) {
|
||||
strcpy(caps.boxname, "Zee");
|
||||
caps.force_tuner_2G = 1;
|
||||
break;
|
||||
#ifdef BOXMODEL_CS_HD2
|
||||
case 11:
|
||||
if (cs_get_chip_type() == CS_CHIP_SHINER)
|
||||
if (chip == 33904 /*0x8470*/)
|
||||
{
|
||||
strcpy(caps.boxname, "Trinity");
|
||||
strcpy(caps.boxarch, "Shiner");
|
||||
@@ -78,7 +78,6 @@ hw_caps_t *get_hwcaps(void) {
|
||||
strcpy(caps.boxname, "Trinity Duo");
|
||||
strcpy(caps.boxarch, "Kronos");
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
strcpy(caps.boxname, "UNKNOWN_BOX");
|
||||
strcpy(caps.boxarch, "Unknown");
|
||||
|
Reference in New Issue
Block a user