mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
disable CEC standby after flash (armbox1)
This commit is contained in:
@@ -78,6 +78,11 @@
|
|||||||
|
|
||||||
#include <cs_api.h>
|
#include <cs_api.h>
|
||||||
|
|
||||||
|
#if HAVE_ARM_HARDWARE
|
||||||
|
#include <video_cs.h>
|
||||||
|
extern cVideo * videoDecoder;
|
||||||
|
#endif
|
||||||
|
|
||||||
extern int allow_flash;
|
extern int allow_flash;
|
||||||
|
|
||||||
//#define DRYRUN
|
//#define DRYRUN
|
||||||
@@ -719,8 +724,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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user