rcinput: simplify calcTimeoutEnd() calls; 0 is "off" by default now

Origin commit data
------------------
Commit: 99cc7f850a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-29 (Fri, 29 Sep 2017)

Origin message was:
------------------
- rcinput: simplify calcTimeoutEnd() calls; 0 is "off" by default now
This commit is contained in:
vanhofen
2017-09-29 08:27:42 +02:00
committed by Jacek Jendrzej
parent c1f30d17dd
commit 20451a9be6
27 changed files with 89 additions and 93 deletions

View File

@@ -208,7 +208,7 @@ int CHintBox::exec()
if (timeout == NO_TIMEOUT || timeout == DEFAULT_TIMEOUT)
timeout = HINTBOX_DEFAULT_TIMEOUT;
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd( timeout );
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout);
if (timeout > 0)
enableTimeOutBar();