mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets Change-Id: I7980523785d2596e65c06430f4638eec74a06061
This commit is contained in:
parent
17f7cc92c2
commit
092c340a20
384 changed files with 648 additions and 43225 deletions
|
@ -484,21 +484,6 @@ MENUITEM_RETURNVALUE(playlists, ID2P(LANG_CATALOG), GO_TO_PLAYLISTS_SCREEN,
|
|||
MENUITEM_RETURNVALUE(system_menu_, ID2P(LANG_SYSTEM), GO_TO_SYSTEM_SCREEN,
|
||||
NULL, Icon_System_menu);
|
||||
|
||||
#if CONFIG_KEYPAD == PLAYER_PAD
|
||||
static int do_shutdown(void)
|
||||
{
|
||||
#if CONFIG_CHARGING
|
||||
if (charger_inserted())
|
||||
charging_splash();
|
||||
else
|
||||
#endif
|
||||
sys_poweroff();
|
||||
return 0;
|
||||
}
|
||||
MENUITEM_FUNCTION(do_shutdown_item, 0, ID2P(LANG_SHUTDOWN),
|
||||
do_shutdown, NULL, NULL, Icon_NOICON);
|
||||
#endif
|
||||
|
||||
struct menu_item_ex root_menu_;
|
||||
static struct menu_callback_with_desc root_menu_desc = {
|
||||
item_callback, ID2P(LANG_ROCKBOX_TITLE), Icon_Rockbox };
|
||||
|
@ -521,9 +506,6 @@ static struct menu_table menu_table[] = {
|
|||
{ "playlists", &playlists },
|
||||
{ "plugins", &rocks_browser },
|
||||
{ "system_menu", &system_menu_ },
|
||||
#if CONFIG_KEYPAD == PLAYER_PAD
|
||||
{ "shutdown", &do_shutdown_item },
|
||||
#endif
|
||||
{ "shortcuts", &shortcut_menu },
|
||||
};
|
||||
#define MAX_MENU_ITEMS (sizeof(menu_table) / sizeof(struct menu_table))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue