disable CEC standby after flash (armbox)

Origin commit data
------------------
Commit: ff875e538a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2018-05-27 (Sun, 27 May 2018)
This commit is contained in:
Jacek Jendrzej
2018-05-27 23:29:39 +02:00
committed by vanhofen
parent e29407901f
commit 3b02200ee2

View File

@@ -78,6 +78,11 @@
#include <cs_api.h> #include <cs_api.h>
#if HAVE_ARM_HARDWARE
#include <video_cs.h>
extern cVideo * videoDecoder;
#endif
//NI softupdate //NI softupdate
#include <sys/stat.h> #include <sys/stat.h>
@@ -721,8 +726,13 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey)
Neutrino is clearing framebuffer, so ofgwrite's gui is cleared too. Neutrino is clearing framebuffer, so ofgwrite's gui is cleared too.
*/ */
if (restart == CMsgBox::mbrYes) if (restart == CMsgBox::mbrYes){
if(g_settings.hdmi_cec_standby){
videoDecoder->SetCECAutoStandby(false);
}
CNeutrinoApp::getInstance()->exec(NULL, "reboot"); CNeutrinoApp::getInstance()->exec(NULL, "reboot");
}
#endif #endif
return menu_return::RETURN_EXIT_ALL; return menu_return::RETURN_EXIT_ALL;
} }