gui/keybind_setup:checkLongPress(): return true for RC_standby

Origin commit data
------------------
Commit: 17774a41b7
Author: martii <m4rtii@gmx.de>
Date: 2014-05-13 (Tue, 13 May 2014)
This commit is contained in:
martii
2014-05-13 21:07:48 +02:00
committed by vanhofen
parent 09b213a085
commit 161fdeda10

View File

@@ -199,6 +199,8 @@ bool checkLongPress(uint32_t key)
{
if (g_settings.longkeypress_duration == LONGKEYPRESS_OFF)
return false;
if (key == CRCInput::RC_standby)
return true;
key |= CRCInput::RC_Repeat;
for (unsigned int i = 0; i < CKeybindSetup::KEYBINDS_COUNT; i++)
if ((uint32_t)*key_settings[i].keyvalue_p == key)