From bab85d298cb90b66e2035804432efecb20d4befc Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 22 Feb 2017 08:59:56 +0100 Subject: [PATCH] rc_input: just cosmetics to satisfy syntax-highlighters Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/d7ed439e53cc55b5c936fe843044ff8fc708b17d Author: vanhofen Date: 2017-02-22 (Wed, 22 Feb 2017) Origin message was: ------------------ - rc_input: just cosmetics to satisfy syntax-highlighters ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/driver/rcinput.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index 0541b69f1..9facaaf59 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -574,8 +574,6 @@ int CRCInput::checkTimers() return _id; } - - int64_t CRCInput::calcTimeoutEnd(const int timeout_in_seconds) { return time_monotonic_us() + ((uint64_t)timeout_in_seconds * (uint64_t) 1000000); @@ -1432,13 +1430,13 @@ void CRCInput::getMsg_us(neutrino_msg_t * msg, neutrino_msg_data_t * data, uint6 if (trkey == rc_last_key) { /* only allow selected keys to be repeated */ if (mayRepeat(trkey, bAllowRepeatLR) || - (g_settings.shutdown_real_rcdelay && - ((trkey == RC_standby) && + (g_settings.shutdown_real_rcdelay && ((trkey == RC_standby) && #if HAVE_COOL_HARDWARE - (cs_get_revision() > 7)))) + (cs_get_revision() > 7) #else - (g_info.hw_caps->can_shutdown)))) + (g_info.hw_caps->can_shutdown) #endif + ))) { #ifdef ENABLE_REPEAT_CHECK if (rc_last_repeat_key != trkey) {