neutrino: initialize api before setting up framebuffer

Origin commit data
------------------
Commit: 7504fe264e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-02-05 (Sun, 05 Feb 2017)
This commit is contained in:
Stefan Seyfried
2017-02-05 22:55:00 +01:00
parent 350318fa0d
commit d609f51abf

View File

@@ -227,14 +227,14 @@ CNeutrinoApp::CNeutrinoApp()
: configfile('\t') : configfile('\t')
{ {
standby_pressed_at.tv_sec = 0; standby_pressed_at.tv_sec = 0;
frameBuffer = CFrameBuffer::getInstance();
frameBuffer->setIconBasePath(ICONSDIR);
#if HAVE_TRIPLEDRAGON || USE_STB_HAL #if HAVE_TRIPLEDRAGON || USE_STB_HAL
/* this needs to happen before the framebuffer is set up */ /* this needs to happen before the framebuffer is set up */
init_td_api(); init_td_api();
// shutdown_td_api(); // shutdown_td_api();
#endif #endif
frameBuffer = CFrameBuffer::getInstance();
frameBuffer->setIconBasePath(ICONSDIR);
SetupFrameBuffer(); SetupFrameBuffer();
mode = mode_unknown; mode = mode_unknown;