neutrino: rename standby flag (.ni-standby => .standby)

Origin commit data
------------------
Commit: bbc8408ea9
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-07-05 (Mon, 05 Jul 2021)

Origin message was:
------------------
- neutrino: rename standby flag (.ni-standby => .standby)
This commit is contained in:
vanhofen
2021-07-05 22:39:39 +02:00
parent 9138d24aff
commit 0522a83e38

View File

@@ -5056,8 +5056,8 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
lockStandbyCall = true;
if( bOnOff ) {
//NI set standby flag
if ( FILE *f = fopen("/tmp/.ni-standby", "w") )
// set standby flag
if (FILE *f = fopen("/tmp/.standby", "w"))
fclose(f);
#ifdef ENABLE_GRAPHLCD
@@ -5220,9 +5220,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
InfoClock->enableInfoClock(true);
InfoIcons->enableInfoIcons(true); //NI InfoIcons
//NI remove standby flag
if (access("/tmp/.ni-standby", F_OK) == 0)
unlink("/tmp/.ni-standby");
// remove standby flag
if (access("/tmp/.standby", F_OK) == 0)
unlink("/tmp/.standby");
g_audioMute->AudioMute(current_muted, true);
StartSubtitles();