mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
shellwindow: add timeout
Origin commit data
------------------
Branch: ni/coolstream
Commit: caabe9707c
Author: vanhofen <vanhofen@gmx.de>
Date: 2014-09-11 (Thu, 11 Sep 2014)
Origin message was:
------------------
- shellwindow: add timeout
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -191,9 +191,10 @@ CShellWindow::~CShellWindow()
|
|||||||
|
|
||||||
neutrino_msg_t msg;
|
neutrino_msg_t msg;
|
||||||
neutrino_msg_data_t data;
|
neutrino_msg_data_t data;
|
||||||
|
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_MENU] == 0 ? 0xFFFF : g_settings.timing[SNeutrinoSettings::TIMING_MENU]);
|
||||||
do
|
do
|
||||||
g_RCInput->getMsg(&msg, &data, 100);
|
g_RCInput->getMsgAbsoluteTimeout(&msg, &data, &timeoutEnd);
|
||||||
while (msg != CRCInput::RC_ok && msg != CRCInput::RC_home);
|
while (msg != CRCInput::RC_ok && msg != CRCInput::RC_home && msg != CRCInput::RC_timeout);
|
||||||
|
|
||||||
frameBuffer->Clear();
|
frameBuffer->Clear();
|
||||||
frameBuffer->blit();
|
frameBuffer->blit();
|
||||||
|
Reference in New Issue
Block a user