mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
- rcinput: simplify calcTimeoutEnd() calls; 0 is "off" by default now
This commit is contained in:
committed by
Jacek Jendrzej
parent
386c2b4d09
commit
99cc7f850a
@@ -460,14 +460,14 @@ int CBouquetList::show(bool bShowChannelList)
|
||||
int pos= lmaxpos;
|
||||
|
||||
int timeout = g_settings.timing[SNeutrinoSettings::TIMING_CHANLIST];
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout == 0 ? 0xFFFF : timeout);
|
||||
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
|
||||
bool loop=true;
|
||||
while (loop) {
|
||||
g_RCInput->getMsgAbsoluteTimeout( &msg, &data, &timeoutEnd );
|
||||
|
||||
if ( msg <= CRCInput::RC_MaxRC )
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout == 0 ? 0xFFFF : timeout);
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
|
||||
|
||||
if((msg == NeutrinoMessages::EVT_TIMER) && (data == fader.GetFadeTimer())) {
|
||||
if(fader.FadeDone())
|
||||
|
Reference in New Issue
Block a user