mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- hw_caps: remove CFEManager-code; ...
the relevant boxmodels are handled now in a "dirty part of hw_caps" in neutrino.cpp after zapit-start
This commit is contained in:
@@ -2239,6 +2239,20 @@ TIMER_START();
|
||||
|
||||
CheckFastScan();
|
||||
|
||||
// dirty part of hw_caps - specify some details after zapit start
|
||||
if (strcmp(g_info.hw_caps->boxname, "HD1") == 0)
|
||||
{
|
||||
// only SAT-HD1 has fan
|
||||
if (!CFEManager::getInstance()->getFE(0)->hasSat())
|
||||
g_info.hw_caps->has_fan = 0;
|
||||
}
|
||||
if (strcmp(g_info.hw_caps->boxname, "Neo") == 0)
|
||||
{
|
||||
// detecting Neo Twin by counting frontends
|
||||
if (CFEManager::getInstance()->getFrontendCount() > 1)
|
||||
strcpy(g_info.hw_caps->boxname, "Neo Twin");
|
||||
}
|
||||
|
||||
//timer start
|
||||
timer_wakeup = false;//init
|
||||
wake_up( timer_wakeup );
|
||||
|
Reference in New Issue
Block a user