mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
neutrino: put hw_caps init after cs_api_init()
Origin commit data
------------------
Commit: 7459630565
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-05-12 (Sun, 12 May 2013)
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