mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +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);
|
cs_register_messenger(CSSendMessage);
|
||||||
fprintf(stderr, "[neutrino start] %d -> %5ld ms\n", __LINE__, time_monotonic_ms() - starttime);
|
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;
|
g_Locale = new CLocaleManager;
|
||||||
|
|
||||||
int loadSettingsErg = loadSetup(NEUTRINO_SETTINGS_FILE);
|
int loadSettingsErg = loadSetup(NEUTRINO_SETTINGS_FILE);
|
||||||
@@ -3809,10 +3813,6 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
tzset();
|
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);
|
return CNeutrinoApp::getInstance()->run(argc, argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user