Fix REMOTE_CONTEXT failure
IRC user <sazmap> brought an error in the action system to my attention the REMOTE_CONTEXT flag should be added if any remote button is pressed Change-Id: Ie3aab97cf835eab108d4b2bdcd8464fcd649da42
This commit is contained in:
parent
075108e34a
commit
e41a563b6c
1 changed files with 1 additions and 1 deletions
|
@ -585,7 +585,7 @@ static inline void action_code_lookup(action_last_t *last, action_cur_t *cur)
|
|||
{
|
||||
/* logf("context = %x",context); */
|
||||
#if (BUTTON_REMOTE != 0)
|
||||
if (has_flag(cur->button, BUTTON_REMOTE))
|
||||
if ((cur->button & BUTTON_REMOTE) != 0)
|
||||
{
|
||||
context |= CONTEXT_REMOTE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue