summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index abdb512a42..2c3f360cea 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -62,6 +62,10 @@
62#include "onplay.h" 62#include "onplay.h"
63#endif 63#endif
64 64
65#if defined(DX50) || defined(DX90)
66#include "governor-ibasso.h"
67#endif
68
65#define NVRAM(bytes) (bytes<<F_NVRAM_MASK_SHIFT) 69#define NVRAM(bytes) (bytes<<F_NVRAM_MASK_SHIFT)
66/** NOTE: NVRAM_CONFIG_VERSION is in settings_list.h 70/** NOTE: NVRAM_CONFIG_VERSION is in settings_list.h
67 and you may need to update it if you edit this file */ 71 and you may need to update it if you edit this file */
@@ -2193,6 +2197,22 @@ const struct settings_list settings[] = {
2193 NULL, "root menu order", 2197 NULL, "root menu order",
2194 root_menu_load_from_cfg, root_menu_write_to_cfg, 2198 root_menu_load_from_cfg, root_menu_write_to_cfg,
2195 root_menu_is_changed, root_menu_set_default), 2199 root_menu_is_changed, root_menu_set_default),
2200
2201#if defined(DX50) || defined(DX90)
2202 CHOICE_SETTING(0,
2203 governor,
2204 LANG_IBASSO_FREQ_SCALING_GOVERNOR,
2205 GOVERNOR_POWERSAVE,
2206 "freq scaling governor",
2207 "conservative,ondemand,interactive,powersave,performance",
2208 ibasso_set_governor,
2209 5,
2210 "Conservative",
2211 "Ondemand",
2212 "Interactive",
2213 "Powersave",
2214 "Performance"),
2215#endif
2196}; 2216};
2197 2217
2198const int nb_settings = sizeof(settings)/sizeof(*settings); 2218const int nb_settings = sizeof(settings)/sizeof(*settings);