mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
neutrino: put hw_caps init after cs_api_init()
This commit is contained in:
@@ -1823,6 +1823,10 @@ TIMER_START();
|
||||
cs_register_messenger(CSSendMessage);
|
||||
fprintf(stderr, "[neutrino start] %d -> %5ld ms\n", __LINE__, time_monotonic_ms() - starttime);
|
||||
|
||||
g_info.hw_caps = get_hwcaps();
|
||||
can_deepstandby = g_info.hw_caps->can_shutdown;
|
||||
g_info.has_fan = g_info.hw_caps->has_fan;
|
||||
|
||||
g_Locale = new CLocaleManager;
|
||||
|
||||
int loadSettingsErg = loadSetup(NEUTRINO_SETTINGS_FILE);
|
||||
@@ -3809,10 +3813,6 @@ int main(int argc, char **argv)
|
||||
|
||||
tzset();
|
||||
|
||||
g_info.hw_caps = get_hwcaps();
|
||||
can_deepstandby = g_info.hw_caps->can_shutdown;
|
||||
g_info.has_fan = g_info.hw_caps->has_fan;
|
||||
|
||||
return CNeutrinoApp::getInstance()->run(argc, argv);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user