summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 22bfc9b60f..118692afe4 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -488,6 +488,10 @@ static const struct bit_entry hd_bits[] =
488#endif 488#endif
489 {4, S_O(default_codepage), 0, "default codepage", "iso8859-1,iso8859-7,iso8859-8,cp1251,iso8859-11,iso8859-6,iso8859-9,iso8859-2,sjis,gb2312,ksx1001,big5,utf-8" }, 489 {4, S_O(default_codepage), 0, "default codepage", "iso8859-1,iso8859-7,iso8859-8,cp1251,iso8859-11,iso8859-6,iso8859-9,iso8859-2,sjis,gb2312,ksx1001,big5,utf-8" },
490 490
491#ifdef HAVE_BACKLIGHT_BRIGHTNESS
492 {4, S_O(brightness), 9, "brightness", "2,3,4,5,6,7,8,9,10,11,12,13,14,15"},
493#endif
494
491 /* If values are just added to the end, no need to bump the version. */ 495 /* If values are just added to the end, no need to bump the version. */
492 /* new stuff to be added at the end */ 496 /* new stuff to be added at the end */
493 497
@@ -892,6 +896,9 @@ void settings_apply(void)
892 backlight_set_fade_out(global_settings.backlight_fade_out); 896 backlight_set_fade_out(global_settings.backlight_fade_out);
893#endif 897#endif
894#endif 898#endif
899#ifdef HAVE_BACKLIGHT_BRIGHTNESS
900 backlight_set_brightness(global_settings.brightness);
901#endif
895 ata_spindown(global_settings.disk_spindown); 902 ata_spindown(global_settings.disk_spindown);
896#if (CONFIG_CODEC == MAS3507D) && !defined(SIMULATOR) 903#if (CONFIG_CODEC == MAS3507D) && !defined(SIMULATOR)
897 dac_line_in(global_settings.line_in); 904 dac_line_in(global_settings.line_in);