Action Rewrite - Fix red

Change-Id: Iaa3e452994295b381297c1b6c9f61407e8ba0296
This commit is contained in:
William Wilgus 2017-11-18 17:06:40 +01:00
parent b10c0e5b90
commit 52af55eee8

View file

@ -459,7 +459,7 @@ static inline void button_flip_horizontally(int context, int *button)
#endif
#if defined(BUTTON_MINUS) && defined(BUTTON_PLUS)
newbutton &= ~(BUTTON_MINUS | BUTTON_PLUS)
newbutton &= ~(BUTTON_MINUS | BUTTON_PLUS);
if (has_flag(*button, BUTTON_MINUS))
{
newbutton |= BUTTON_PLUS;
@ -587,7 +587,7 @@ static inline void action_code_lookup(action_last_t *last, action_cur_t *cur)
#if (BUTTON_REMOTE != 0)
if (has_flag(cur->button, BUTTON_REMOTE))
{
*context |= CONTEXT_REMOTE;
context |= CONTEXT_REMOTE;
}
#endif