move creation of /tmp/.flash.start to update code

Origin commit data
------------------
Branch: ni/coolstream
Commit: c5b2772226
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-03-12 (Fri, 12 Mar 2021)

Origin message was:
------------------
- move creation of /tmp/.flash.start to update code

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-03-12 20:37:06 +01:00
parent 8164346b5a
commit 9e3afe0c9e
3 changed files with 8 additions and 3 deletions

View File

@@ -5345,7 +5345,11 @@ void stop_lcd4l_support()
void stop_daemons(bool stopall, bool for_flash)
{
CMoviePlayerGui::getInstance().stopPlayBack();
if (for_flash) {
if (for_flash)
{
if ( FILE *f = fopen("/tmp/.flash.start", "w") )
fclose(f);
CVFD::getInstance()->Clear();
CVFD::getInstance()->setMode(CVFD::MODE_TVRADIO);
CVFD::getInstance()->ShowText("Stop daemons...");