summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index f5c0ba7c2d..4487361e8d 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -296,6 +296,14 @@ static const struct bit_entry rtc_bits[] =
296#endif 296#endif
297#endif 297#endif
298 298
299#ifdef CONFIG_BACKLIGHT
300#ifdef HAVE_LCD_COLOR
301 {1, S_O(bl_filter_first_keypress), true, "backlight filters first keypress", off_on },
302#else
303 {1, S_O(bl_filter_first_keypress), false, "backlight filters first keypress", off_on },
304#endif
305#endif
306
299 /* new stuff to be added here */ 307 /* new stuff to be added here */
300 /* If values are just added to the end, no need to bump the version. */ 308 /* If values are just added to the end, no need to bump the version. */
301 309
@@ -1115,6 +1123,10 @@ void settings_apply(void)
1115#ifdef HAVE_SPDIF_POWER 1123#ifdef HAVE_SPDIF_POWER
1116 spdif_power_enable(global_settings.spdif_enable); 1124 spdif_power_enable(global_settings.spdif_enable);
1117#endif 1125#endif
1126
1127#ifdef CONFIG_BACKLIGHT
1128 set_backlight_filter_keypress(global_settings.bl_filter_first_keypress);
1129#endif
1118} 1130}
1119 1131
1120 1132