summaryrefslogtreecommitdiffstats
path: root/apps/keymaps/keymap-fiiom3klinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/keymaps/keymap-fiiom3klinux.c')
-rw-r--r--apps/keymaps/keymap-fiiom3klinux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/keymaps/keymap-fiiom3klinux.c b/apps/keymaps/keymap-fiiom3klinux.c
index 7769e2da04..79a7687501 100644
--- a/apps/keymaps/keymap-fiiom3klinux.c
+++ b/apps/keymaps/keymap-fiiom3klinux.c
@@ -150,7 +150,6 @@ static const struct button_mapping button_context_quickscreen[] = {
/** Settings - General Mappings **/
static const struct button_mapping button_context_settings[] = {
- { ACTION_SETTINGS_RESET, BUTTON_POWER|BUTTON_REL, BUTTON_POWER },
{ ACTION_STD_PREV, BUTTON_PREV, BUTTON_NONE },
{ ACTION_STD_PREVREPEAT, BUTTON_PREV|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_STD_NEXT, BUTTON_NEXT, BUTTON_NONE },
@@ -193,7 +192,7 @@ static const struct button_mapping button_context_yesnoscreen[] = {
/* get_context_mapping returns a pointer to one of the above defined arrays depending on the context */
const struct button_mapping* get_context_mapping(int context)
{
- switch (context)
+ switch (context & ~CONTEXT_LOCKED)
{
case CONTEXT_LIST:
return button_context_list;