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

This commit is contained in:
martii
2014-05-13 21:07:48 +02:00
committed by svenhoefer
parent 5f99e88ba2
commit 17774a41b7

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)