summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
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/settings_list.c
parent16f10e2abddb3a6cb6e3a7098ff0c190c0635401 (diff)
Revert "As3525 v1/v2 Add power savings menu"
This reverts commit 6f0320a9535bc1aa81d83fa879ac14d5ee603658. Change-Id: I7425d422a4a0af7a49e9194cfe0bb55d431bc401
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c38
1 files changed, 1 insertions, 37 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index fe280b0ff6..57763d345a 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -2246,43 +2246,7 @@ const struct settings_list settings[] = {
ID2P(LANG_IBASSO_USB_MODE_CHARGE),
ID2P(LANG_IBASSO_USB_MODE_ADB)),
#endif
-
-#ifdef CONFIG_POWER_SAVING
-#if (CONFIG_POWER_SAVING & POWERSV_CPU)
- OFFON_SETTING(0,
- cpu_powersave,
- LANG_CPU,
- false,
- "cpu powersave",
- cpu_set_powersave),
-#endif
-#if (CONFIG_POWER_SAVING & POWERSV_DISK)
- OFFON_SETTING(0,
- disk_powersave,
- LANG_DISK_MENU,
- false,
- "disk powersave",
- disk_set_powersave),
-#endif
-#if (CONFIG_POWER_SAVING & POWERSV_DISP)
- OFFON_SETTING(0,
- disp_powersave,
- LANG_DISPLAY,
- false,
- "disp powersave",
- disp_set_powersave),
-#endif
-#if (CONFIG_POWER_SAVING & POWERSV_I2C)
- OFFON_SETTING(0,
- i2c_powersave,
- LANG_I2C,
- false,
- "i2c powersave",
- i2c_set_powersave),
-#endif
-#endif /*defined(CONFIG_POWER_SAVING)*/
-
-};/*struct settings_list settings*/
+};
const int nb_settings = sizeof(settings)/sizeof(*settings);