mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +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>
|
#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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user