neutrino: initialize api before setting up framebuffer

This commit is contained in:
Stefan Seyfried
2017-02-05 22:55:00 +01:00
parent f372d56e41
commit 7504fe264e

View File

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