diff options
Diffstat (limited to 'apps/keymaps/keymap-mr500.c')
-rwxr-xr-x | apps/keymaps/keymap-mr500.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/keymaps/keymap-mr500.c b/apps/keymaps/keymap-mr500.c index b0d75c15bf..c680929efd 100755 --- a/apps/keymaps/keymap-mr500.c +++ b/apps/keymaps/keymap-mr500.c | |||
@@ -17,7 +17,7 @@ | |||
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | 19 | ||
20 | /* Button Code Definitions for the toshiba gigabeat target */ | 20 | /* Button Code Definitions for the Olympus M:robe 500 target */ |
21 | #include <stdio.h> | 21 | #include <stdio.h> |
22 | #include <string.h> | 22 | #include <string.h> |
23 | #include <stdlib.h> | 23 | #include <stdlib.h> |
@@ -137,8 +137,7 @@ static const struct button_mapping button_context_keyboard[] = { | |||
137 | LAST_ITEM_IN_LIST | 137 | LAST_ITEM_IN_LIST |
138 | }; /* button_context_keyboard */ | 138 | }; /* button_context_keyboard */ |
139 | 139 | ||
140 | extern int current_tick; | 140 | const struct button_mapping* target_get_context_mapping(int context) |
141 | const struct button_mapping* get_context_mapping(int context) | ||
142 | { | 141 | { |
143 | switch (context&(~CONTEXT_REMOTE)) | 142 | switch (context&(~CONTEXT_REMOTE)) |
144 | { | 143 | { |