forked from len0rd/rockbox
Removed disk settings menu for Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5239 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ae4d51199f
commit
dd937dcfaf
2 changed files with 17 additions and 9 deletions
|
|
@ -773,6 +773,7 @@ static bool timeformat_set(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_MMC
|
||||
static bool spindown(void)
|
||||
{
|
||||
return set_int(str(LANG_SPINDOWN), "s", UNIT_SEC,
|
||||
|
|
@ -780,15 +781,6 @@ static bool spindown(void)
|
|||
ata_spindown, 1, 3, 254 );
|
||||
}
|
||||
|
||||
#if CONFIG_HWCODEC == MAS3507D
|
||||
static bool line_in(void)
|
||||
{
|
||||
bool rc = set_bool(str(LANG_LINE_IN), &global_settings.line_in);
|
||||
dac_line_in(global_settings.line_in);
|
||||
return rc;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ATA_POWER_OFF
|
||||
static bool poweroff(void)
|
||||
{
|
||||
|
|
@ -796,6 +788,16 @@ static bool poweroff(void)
|
|||
ata_poweroff(global_settings.disk_poweroff);
|
||||
return rc;
|
||||
}
|
||||
#endif /* HAVE_ATA_POWEROFF */
|
||||
#endif /* !HAVE_MMC */
|
||||
|
||||
#if CONFIG_HWCODEC == MAS3507D
|
||||
static bool line_in(void)
|
||||
{
|
||||
bool rc = set_bool(str(LANG_LINE_IN), &global_settings.line_in);
|
||||
dac_line_in(global_settings.line_in);
|
||||
return rc;
|
||||
}
|
||||
#endif
|
||||
|
||||
static bool max_files_in_dir(void)
|
||||
|
|
@ -1250,6 +1252,7 @@ static bool battery_settings_menu(void)
|
|||
return result;
|
||||
}
|
||||
|
||||
#ifndef HAVE_MMC
|
||||
static bool disk_settings_menu(void)
|
||||
{
|
||||
int m;
|
||||
|
|
@ -1268,6 +1271,7 @@ static bool disk_settings_menu(void)
|
|||
menu_exit(m);
|
||||
return result;
|
||||
}
|
||||
#endif /* !HAVE_MMC */
|
||||
|
||||
#ifdef HAVE_RTC
|
||||
static bool time_settings_menu(void)
|
||||
|
|
@ -1332,7 +1336,9 @@ static bool system_settings_menu(void)
|
|||
|
||||
static const struct menu_item items[] = {
|
||||
{ ID2P(LANG_BATTERY_MENU), battery_settings_menu },
|
||||
#ifndef HAVE_MMC
|
||||
{ ID2P(LANG_DISK_MENU), disk_settings_menu },
|
||||
#endif
|
||||
#ifdef HAVE_RTC
|
||||
{ ID2P(LANG_TIME_MENU), time_settings_menu },
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue