mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
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:
@@ -78,6 +78,11 @@
|
||||
|
||||
#include <cs_api.h>
|
||||
|
||||
#if HAVE_ARM_HARDWARE
|
||||
#include <video_cs.h>
|
||||
extern cVideo * videoDecoder;
|
||||
#endif
|
||||
|
||||
//NI softupdate
|
||||
#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.
|
||||
*/
|
||||
|
||||
if (restart == CMsgBox::mbrYes)
|
||||
if (restart == CMsgBox::mbrYes){
|
||||
if(g_settings.hdmi_cec_standby){
|
||||
videoDecoder->SetCECAutoStandby(false);
|
||||
}
|
||||
|
||||
CNeutrinoApp::getInstance()->exec(NULL, "reboot");
|
||||
}
|
||||
#endif
|
||||
return menu_return::RETURN_EXIT_ALL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user