summaryrefslogtreecommitdiffstats
path: root/apps/menus
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2018-07-28 17:35:01 +0200
committerWilliam Wilgus <me.theuser@yahoo.com>2018-07-28 17:35:07 +0200
commitd8bd356e565f5d1be946462616e8bb1e858fb833 (patch)
tree71e60336b6e43fc372b2f56941cdc4a4bf054659 /apps/menus
parent16f10e2abddb3a6cb6e3a7098ff0c190c0635401 (diff)
downloadrockbox-d8bd356e565f5d1be946462616e8bb1e858fb833.tar.gz
rockbox-d8bd356e565f5d1be946462616e8bb1e858fb833.tar.bz2
rockbox-d8bd356e565f5d1be946462616e8bb1e858fb833.zip
Revert "As3525 v1/v2 Add power savings menu"
This reverts commit 6f0320a9535bc1aa81d83fa879ac14d5ee603658. Change-Id: I7425d422a4a0af7a49e9194cfe0bb55d431bc401
Diffstat (limited to 'apps/menus')
-rw-r--r--apps/menus/settings_menu.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c
index f23f01d4dc..5c99cb4cd4 100644
--- a/apps/menus/settings_menu.c
+++ b/apps/menus/settings_menu.c
@@ -295,36 +295,6 @@ MAKE_MENU(disk_menu, ID2P(LANG_DISK_MENU), 0, Icon_NOICON,
);
#endif
-#ifdef CONFIG_POWER_SAVING
-#if (CONFIG_POWER_SAVING & POWERSV_CPU)
-MENUITEM_SETTING(cpu_powersave, &global_settings.cpu_powersave, NULL);
-#endif
-#if (CONFIG_POWER_SAVING & POWERSV_DISK)
-MENUITEM_SETTING(disk_powersave, &global_settings.disk_powersave, NULL);
-#endif
-#if (CONFIG_POWER_SAVING & POWERSV_I2C)
-MENUITEM_SETTING(i2c_powersave, &global_settings.i2c_powersave, NULL);
-#endif
-#if (CONFIG_POWER_SAVING & POWERSV_DISP)
-MENUITEM_SETTING(disp_powersave, &global_settings.disp_powersave, NULL);
-#endif
-
-MAKE_MENU(power_save_menu, ID2P(LANG_POWER_SAVING_MENU), 0, Icon_NOICON,
-#if (CONFIG_POWER_SAVING & POWERSV_CPU)
- &cpu_powersave,
-#endif
-#if (CONFIG_POWER_SAVING & POWERSV_DISK)
- &disk_powersave,
-#endif
-#if (CONFIG_POWER_SAVING & POWERSV_I2C)
- &i2c_powersave,
-#endif
-#if (CONFIG_POWER_SAVING & POWERSV_DISP)
- &disp_powersave,
-#endif
- );
-#endif /* ifdef CONFIG_POWER_SAVING */
-
/* Limits menu */
MENUITEM_SETTING(max_files_in_dir, &global_settings.max_files_in_dir, NULL);
MENUITEM_SETTING(max_files_in_playlist, &global_settings.max_files_in_playlist, NULL);
@@ -442,11 +412,6 @@ MAKE_MENU(system_menu, ID2P(LANG_SYSTEM),
&disk_menu,
#endif
&limits_menu,
-
-#if defined(CONFIG_POWER_SAVING)
- &power_save_menu,
-#endif
-
#ifdef HAVE_QUICKSCREEN
&shortcuts_replaces_quickscreen,
#endif