From 1b85f60ae0b0c1e24595e9551ce5eee10f15b182 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Tue, 23 Jan 2007 15:43:37 +0000 Subject: Permanently enable powering down the disk when it's sleeping for supported targets (iriver h1xx, h3xx and h10, iaudio x5, gigabeat and archos recorders) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12094 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings_menu.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'apps/settings_menu.c') diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 04fd64b1ca..1a19bb18c8 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c @@ -1104,14 +1104,6 @@ static bool spindown(void) ata_spindown, 1, 3, 254, NULL ); } -#ifdef HAVE_ATA_POWER_OFF -static bool poweroff(void) -{ - bool rc = set_bool(str(LANG_POWEROFF), &global_settings.disk_poweroff); - ata_poweroff(global_settings.disk_poweroff); - return rc; -} -#endif /* HAVE_ATA_POWEROFF */ #endif /* !HAVE_MMC */ #if CONFIG_CODEC == MAS3507D @@ -2116,9 +2108,6 @@ static bool disk_settings_menu(void) static const struct menu_item items[] = { { ID2P(LANG_SPINDOWN), spindown }, -#ifdef HAVE_ATA_POWER_OFF - { ID2P(LANG_POWEROFF), poweroff }, -#endif #ifdef HAVE_DIRCACHE { ID2P(LANG_DIRCACHE_ENABLE), dircache }, #endif -- cgit v1.2.3