- controlapi/yparser: detect new models tank and trinity

This commit is contained in:
svenhoefer
2013-08-15 16:25:38 +02:00
parent 35c87ebee0
commit efe212413b
2 changed files with 12 additions and 2 deletions

View File

@@ -623,14 +623,19 @@ void CControlAPI::HWInfoCGI(CyhookHandler *hh)
boxname += "BSE"; boxname += "BSE";
break; break;
case 8: case 8:
case 9:
boxname += "Neo"; boxname += "Neo";
if (CFEManager::getInstance()->getFrontendCount() > 1) if (CFEManager::getInstance()->getFrontendCount() > 1)
boxname += " Twin"; boxname += " Twin";
break; break;
case 9:
boxname += "Tank";
break;
case 10: case 10:
boxname += "Zee"; boxname += "Zee";
break; break;
case 11:
boxname += "Trinity";
break;
default: default:
char buffer[10]; char buffer[10];

View File

@@ -707,14 +707,19 @@ std::string CNeutrinoYParser::func_get_boxtype(CyhookHandler *, std::string)
boxname += "BSE"; boxname += "BSE";
break; break;
case 8: case 8:
case 9:
boxname += "Neo"; boxname += "Neo";
if (CFEManager::getInstance()->getFrontendCount() > 1) if (CFEManager::getInstance()->getFrontendCount() > 1)
boxname += " Twin"; boxname += " Twin";
break; break;
case 9:
boxname += "Tank";
break;
case 10: case 10:
boxname += "Zee"; boxname += "Zee";
break; break;
case 11:
boxname += "Trinity";
break;
default: default:
char buffer[10]; char buffer[10];