update: fix osd flickering

Origin commit data
------------------
Branch: ni/coolstream
Commit: 6709cffc6e
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-25 (Wed, 25 Oct 2017)

Origin message was:
------------------
- update: fix osd flickering

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-25 00:05:16 +02:00
parent 758f5a722d
commit b1ed2e1a4e

View File

@@ -669,6 +669,12 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey)
#ifndef DRYRUN
my_system(3, ofgwrite_tgz, g_settings.update_dir.c_str(), filename.c_str());
#endif
/*
ofgwrite is killing Neutrino.
So we stay here and wait for our end. This avoids osd flickering.
*/
while (true)
sleep(1);
}
#endif
else // not image, install