diff --git a/apps/action.c b/apps/action.c index 9b665d22a9..f92b84d105 100644 --- a/apps/action.c +++ b/apps/action.c @@ -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; }