diff options
Diffstat (limited to 'apps/settings.c')
| -rw-r--r-- | apps/settings.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c index f5c0ba7..4487361 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -296,6 +296,14 @@ static const struct bit_entry rtc_bits[] = #endif #endif +#ifdef CONFIG_BACKLIGHT +#ifdef HAVE_LCD_COLOR + {1, S_O(bl_filter_first_keypress), true, "backlight filters first keypress", off_on }, +#else + {1, S_O(bl_filter_first_keypress), false, "backlight filters first keypress", off_on }, +#endif +#endif + /* new stuff to be added here */ /* If values are just added to the end, no need to bump the version. */ @@ -1115,6 +1123,10 @@ void settings_apply(void) #ifdef HAVE_SPDIF_POWER spdif_power_enable(global_settings.spdif_enable); #endif + +#ifdef CONFIG_BACKLIGHT + set_backlight_filter_keypress(global_settings.bl_filter_first_keypress); +#endif } |