diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/menus/main_menu.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index 598373116e..01b4dbe07a 100644 --- a/apps/menus/main_menu.c +++ b/apps/menus/main_menu.c | |||
@@ -366,11 +366,6 @@ static int info_speak_item(int selected_item, void * data) | |||
366 | 366 | ||
367 | static int info_action_callback(int action, struct gui_synclist *lists) | 367 | static int info_action_callback(int action, struct gui_synclist *lists) |
368 | { | 368 | { |
369 | #if CONFIG_CHARGING | ||
370 | if (action == ACTION_NONE) | ||
371 | return ACTION_REDRAW; | ||
372 | else | ||
373 | #endif | ||
374 | if (action == ACTION_STD_CANCEL) | 369 | if (action == ACTION_STD_CANCEL) |
375 | return action; | 370 | return action; |
376 | else if ((action == ACTION_STD_OK) | 371 | else if ((action == ACTION_STD_OK) |
@@ -411,9 +406,6 @@ static bool show_info(void) | |||
411 | if(global_settings.talk_menu) | 406 | if(global_settings.talk_menu) |
412 | info.get_talk = info_speak_item; | 407 | info.get_talk = info_speak_item; |
413 | info.action_callback = info_action_callback; | 408 | info.action_callback = info_action_callback; |
414 | #if CONFIG_CHARGING | ||
415 | info.timeout = HZ; | ||
416 | #endif | ||
417 | return simplelist_show_list(&info); | 409 | return simplelist_show_list(&info); |
418 | } | 410 | } |
419 | MENUITEM_FUNCTION(show_info_item, 0, ID2P(LANG_ROCKBOX_INFO), | 411 | MENUITEM_FUNCTION(show_info_item, 0, ID2P(LANG_ROCKBOX_INFO), |