mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
- rc_input: just cosmetics to satisfy syntax-highlighters
This commit is contained in:
@@ -574,8 +574,6 @@ int CRCInput::checkTimers()
|
|||||||
return _id;
|
return _id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
int64_t CRCInput::calcTimeoutEnd(const int timeout_in_seconds)
|
int64_t CRCInput::calcTimeoutEnd(const int timeout_in_seconds)
|
||||||
{
|
{
|
||||||
return time_monotonic_us() + ((uint64_t)timeout_in_seconds * (uint64_t) 1000000);
|
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) {
|
if (trkey == rc_last_key) {
|
||||||
/* only allow selected keys to be repeated */
|
/* only allow selected keys to be repeated */
|
||||||
if (mayRepeat(trkey, bAllowRepeatLR) ||
|
if (mayRepeat(trkey, bAllowRepeatLR) ||
|
||||||
(g_settings.shutdown_real_rcdelay &&
|
(g_settings.shutdown_real_rcdelay && ((trkey == RC_standby) &&
|
||||||
((trkey == RC_standby) &&
|
|
||||||
#if HAVE_COOL_HARDWARE
|
#if HAVE_COOL_HARDWARE
|
||||||
(cs_get_revision() > 7))))
|
(cs_get_revision() > 7)
|
||||||
#else
|
#else
|
||||||
(g_info.hw_caps->can_shutdown))))
|
(g_info.hw_caps->can_shutdown)
|
||||||
#endif
|
#endif
|
||||||
|
)))
|
||||||
{
|
{
|
||||||
#ifdef ENABLE_REPEAT_CHECK
|
#ifdef ENABLE_REPEAT_CHECK
|
||||||
if (rc_last_repeat_key != trkey) {
|
if (rc_last_repeat_key != trkey) {
|
||||||
|
Reference in New Issue
Block a user