mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 09:51:13 +02:00
neutrino: more small cleanups in ExitRun()
Origin commit data
------------------
Commit: 7649ac8d5a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-20 (Mon, 20 Nov 2017)
Origin message was:
------------------
- neutrino: more small cleanups in ExitRun()
This commit is contained in:
@@ -4043,6 +4043,10 @@ void CNeutrinoApp::ExitRun(int can_shutdown)
|
|||||||
|
|
||||||
stop_lcd4l_support(); //NI lcd4l-support
|
stop_lcd4l_support(); //NI lcd4l-support
|
||||||
|
|
||||||
|
//NI InfoIcons
|
||||||
|
if(g_settings.mode_icons && g_settings.mode_icons_skin == INFOICONS_POPUP)
|
||||||
|
InfoIcons->saveIconstate();
|
||||||
|
|
||||||
if(SDTreloadChannels)
|
if(SDTreloadChannels)
|
||||||
SDT_ReloadChannels();
|
SDT_ReloadChannels();
|
||||||
|
|
||||||
@@ -4073,24 +4077,14 @@ void CNeutrinoApp::ExitRun(int can_shutdown)
|
|||||||
g_settings.shutdown_timer_record_type = timer_is_rec;
|
g_settings.shutdown_timer_record_type = timer_is_rec;
|
||||||
saveSetup(NEUTRINO_SETTINGS_FILE);
|
saveSetup(NEUTRINO_SETTINGS_FILE);
|
||||||
|
|
||||||
#if 0
|
puts("[neutrino.cpp] executing " NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT ".");
|
||||||
if (can_shutdown)
|
if (my_system(NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT) != 0)
|
||||||
{
|
perror(NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT " failed");
|
||||||
#endif
|
|
||||||
puts("[neutrino.cpp] executing " NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT ".");
|
|
||||||
if (my_system(NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT) != 0)
|
|
||||||
perror(NEUTRINO_ENTER_DEEPSTANDBY_SCRIPT " failed");
|
|
||||||
|
|
||||||
//NI InfoIcons
|
printf("entering off state\n");
|
||||||
if(g_settings.mode_icons && g_settings.mode_icons_skin == INFOICONS_POPUP)
|
printf("timer_minutes: %ld\n", timer_minutes);
|
||||||
InfoIcons->saveIconstate();
|
mode = NeutrinoModes::mode_off;
|
||||||
|
|
||||||
printf("entering off state\n");
|
|
||||||
printf("timer_minutes: %ld\n", timer_minutes);
|
|
||||||
mode = NeutrinoModes::mode_off;
|
|
||||||
#if 0
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
int leds = 0;
|
int leds = 0;
|
||||||
int bright = 0;
|
int bright = 0;
|
||||||
#if HAVE_COOL_HARDWARE
|
#if HAVE_COOL_HARDWARE
|
||||||
|
Reference in New Issue
Block a user