diff options
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r-- | apps/settings_menu.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index a8487c5c54..c4d8c02c91 100644 --- a/apps/settings_menu.c +++ b/apps/settings_menu.c | |||
@@ -548,13 +548,6 @@ static bool poweroff(void) | |||
548 | } | 548 | } |
549 | #endif | 549 | #endif |
550 | 550 | ||
551 | static bool cpu_sleep_set(void) | ||
552 | { | ||
553 | bool result = set_bool(str(LANG_CPU_SLEEP), &global_settings.cpu_sleep); | ||
554 | cpu_sleep(global_settings.cpu_sleep); | ||
555 | return result; | ||
556 | } | ||
557 | |||
558 | static bool buffer_margin(void) | 551 | static bool buffer_margin(void) |
559 | { | 552 | { |
560 | return set_int(str(LANG_MP3BUFFER_MARGIN), "s", | 553 | return set_int(str(LANG_MP3BUFFER_MARGIN), "s", |
@@ -755,7 +748,6 @@ static bool system_settings_menu(void) | |||
755 | #ifdef HAVE_ATA_POWER_OFF | 748 | #ifdef HAVE_ATA_POWER_OFF |
756 | { str(LANG_POWEROFF), poweroff }, | 749 | { str(LANG_POWEROFF), poweroff }, |
757 | #endif | 750 | #endif |
758 | { str(LANG_CPU_SLEEP), cpu_sleep_set }, | ||
759 | #ifndef SIMULATOR | 751 | #ifndef SIMULATOR |
760 | { str(LANG_BATTERY_CAPACITY), battery_capacity }, | 752 | { str(LANG_BATTERY_CAPACITY), battery_capacity }, |
761 | #endif | 753 | #endif |