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.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 982b483874..795d42ceba 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -351,6 +351,12 @@ static const char graphic_numeric[] = "graphic,numeric";
351# endif 351# endif
352#endif 352#endif
353 353
354#ifdef AUDIOHW_HAVE_POWER_MODE
355# ifndef TARGET_DEFAULT_DAC_POWER_MODE
356# define TARGET_DEFAULT_DAC_POWER_MODE SOUND_HIGH_POWER
357# endif
358#endif
359
354#if LCD_DEPTH > 1 360#if LCD_DEPTH > 1
355static const char* list_pad_formatter(char *buffer, size_t buffer_size, 361static const char* list_pad_formatter(char *buffer, size_t buffer_size,
356 int val, const char *unit) 362 int val, const char *unit)
@@ -877,7 +883,8 @@ const struct settings_list settings[] = {
877#endif 883#endif
878 884
879#ifdef AUDIOHW_HAVE_POWER_MODE 885#ifdef AUDIOHW_HAVE_POWER_MODE
880 CHOICE_SETTING(F_SOUNDSETTING, power_mode, LANG_DAC_POWER_MODE, 0, 886 CHOICE_SETTING(F_SOUNDSETTING, power_mode, LANG_DAC_POWER_MODE,
887 TARGET_DEFAULT_DAC_POWER_MODE,
881 "dac_power_mode", "high,low", sound_set_power_mode, 888 "dac_power_mode", "high,low", sound_set_power_mode,
882 2, ID2P(LANG_DAC_POWER_HIGH), ID2P(LANG_DAC_POWER_LOW)), 889 2, ID2P(LANG_DAC_POWER_HIGH), ID2P(LANG_DAC_POWER_LOW)),
883#endif 890#endif