summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-ondio.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/keymaps/keymap-ondio.c')
-rw-r--r--apps/keymaps/keymap-ondio.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/keymaps/keymap-ondio.c b/apps/keymaps/keymap-ondio.c
index 4274afc29e..401742b363 100644
--- a/apps/keymaps/keymap-ondio.c
+++ b/apps/keymaps/keymap-ondio.c
@@ -159,7 +159,7 @@ static const struct button_mapping button_context_keyboard[] = {
159 159
160 LAST_ITEM_IN_LIST 160 LAST_ITEM_IN_LIST
161}; /* button_context_keyboard */ 161}; /* button_context_keyboard */
162 162#if CONFIG_TUNER
163static const struct button_mapping button_context_radio[] = { 163static const struct button_mapping button_context_radio[] = {
164 { ACTION_FM_MENU, BUTTON_MENU | BUTTON_REPEAT, BUTTON_NONE }, 164 { ACTION_FM_MENU, BUTTON_MENU | BUTTON_REPEAT, BUTTON_NONE },
165 { ACTION_FM_RECORD_DBLPRE, BUTTON_MENU, BUTTON_NONE}, 165 { ACTION_FM_RECORD_DBLPRE, BUTTON_MENU, BUTTON_NONE},
@@ -176,7 +176,7 @@ static const struct button_mapping button_context_radio[] = {
176 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) 176 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS)
177 177
178}; 178};
179 179#endif
180const struct button_mapping* get_context_mapping( int context ) 180const struct button_mapping* get_context_mapping( int context )
181{ 181{
182 switch( context ) 182 switch( context )
@@ -207,9 +207,10 @@ const struct button_mapping* get_context_mapping( int context )
207 return button_context_recscreen; 207 return button_context_recscreen;
208 case CONTEXT_KEYBOARD: 208 case CONTEXT_KEYBOARD:
209 return button_context_keyboard; 209 return button_context_keyboard;
210#if CONFIG_TUNER
210 case CONTEXT_FM: 211 case CONTEXT_FM:
211 return button_context_radio; 212 return button_context_radio;
212 213#endif
213 case CONTEXT_LIST: 214 case CONTEXT_LIST:
214 case CONTEXT_MAINMENU: 215 case CONTEXT_MAINMENU:
215 default: 216 default: