mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +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
Origin commit data
------------------
Commit: 382181e289
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-08-14 (Mon, 14 Aug 2017)
Origin message was:
------------------
- 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:
@@ -2386,6 +2386,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